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
Solved

OSX lock and unlock history

Posted on 2014-04-07
1
1,046 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

CocoaPods is the best way to manage library dependencies in iOS and OS X projects. By using cocoa pods there is no need of downloading the code from github and copying to your project. There are plenty of open source libraries now available with C…
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 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