Solved

OSX lock and unlock history

Posted on 2014-04-07
1
1,074 Views
Last Modified: 2014-05-09
Is there a way to obtain a history of lock or unlock events in OSX?

I'd like to obtain without deploying an application to OSX based devices, the logged on user, the date and time that the device was locked or unlocked. Locks can be set by screensaver or explicitly by the user.

As an example:

pmset -g log|grep -e ” Sleep ” -e ” Wake “ will show the sleep and wake events

Last command will show the users logon date, duration, shutdown, tty etc.

What I'm looking for is a similar type of command which will show the lock and unlock events.

Thanks
0
Comment
Question by:BJM1M
1 Comment
 
LVL 13

Accepted Solution

by:
Xaelian earned 500 total points
ID: 40014814
Hi,

There isn't a command to do it. When you type last, you'll see when the user had last logged into the computer. But there isn't a build-in command.

You can go in the console and ga to the 'Diagnostic and Usage Messages' and view it over here.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SUMMARY Enterprise backup in a heterogeneous network is a subject full of complications and restrictions. Issues such as filename & path structure, attributes and extended metadata always tend to complicate the subject to the extent where either …
Connectivity using SMB Symptoms When connecting to Windows Server shares from a Mac you receive an error similar to "Connection failed because the original item could not be found"Authentication persistently fails to a Windows Server from a Mac wi…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question