Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Lock screen with password on a per-use basis' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Lock screen with password on a per-use basis
Authored by: MotherBrain on Feb 16, '09 09:57:11AM

How about using the following shell script in automator as a bin/bash shell:

/System/Library/CoreServices/"Menu Extras"/User.menu/Contents/Resources/CGSession -suspend

I don't remember where I got this script but I added a yes/no confirmation dialog box to it explaining you will need to enter credentials to log back in.

I exported it as an application and drug it to my dock. So now I can click on it when I want to lock my computer. Simple, Sweet, Painless. :)



[ Reply to This | # ]