Friday, June 4, 2010

How to lock your screen on snow leopard

Well for the past couple of days my friend and i have been trying to figure out how to lock the screen in snow leopard well mac osx for that matter in general, Well after hours of googling i finally figured it out. check it out.


1. Open Automator (in your Applications folder) and choose Service from the list of templates provided and click the Choose button.


2. In the left hand column under Library, select Utilities.

3. In the second column, drag “Run Shell Script” to the right hand pane.

4. At the top of the right hand pane where you dragged the Run Shell Script action, click on the menu next to “Service receives” and choose “no input”.

5. Copy and paste the following Terminal command into the empty text area of the Run Shell Script action:

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

The entire command should be entered on a single line and note there is a space after “/Menu\”.

6. Choose File–>Save, and give the new service a meaningful name like “Lock Computer” that will appear in the Services menu. Once you’ve done that, you can go to the Services menu (located in the current application menu, next to the Apple menu) and your newly created service should appear there.


7. Next open System Preferences –> Keyboard –> Keyboard Shortcuts and select Services in the left column.

8. Scroll down to the bottom and under the General category, you should see your newly created service listed there. Select it, then Double-click close to the right side of the selected line to reveal a field where you can enter a custom keyboard shortcut. Enter an easy to remember but unique keyboard shortcut (I chose to go with ctrl+option+command+L), and then quit System Preferences.


9. enjoy locking your screen =) yeaaaaaaaaaaaaah booooooooy

No comments:

Post a Comment

Cracking Kerberos Service Tickets (TGS) Using Kerberoasting

As of late I've been spending a lot of time researching and learning different techniques when it comes to attacking Active Directory En...