[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

OSX lock and unlock history

Posted on 2014-04-07
1
Medium Priority
?
1,364 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 13

Accepted Solution

by:
Xaelian earned 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

If you other experts are anything like me you are always looking into and testing out new features. While I was doing some research one day I ran across an app that I installed on my Mac and used as a security system. Mac OS X: SecureHome uses your …
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
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 …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

649 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