Solved

OSX lock and unlock history

Posted on 2014-04-07
1
987 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

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Putting data back onto a mac after a reinstall 9 73
Reocurring Mac pop up message 7 86
exchange support of mac 2 66
Process to backup imac and reinstall OS 12 66
Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
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 …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now