Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I hate it when it asks me for password when I'm at home getting away from a computer for a while. I do like it having a screensaver though. But for some reason I see that password settings for the screensaver is merged with the password settings for waking from sleep. And waking password is an essential security feature for me. Essentially when Im not in a secured environment I close the lid when going away from the laptop even for a minute, but at home I want it to stay open.

Is there a way to have it ask for password only after sleep and not after screensaver?

share|improve this question
up vote 1 down vote accepted

Download SleepWatcher

Follow the instructions for installation and configuration. Create a shell script with the following command, and use SleepWatcher to execute it upon sleep:

/System/Library/CoreServices/Menu\ Extras/ -suspend
share|improve this answer
this might work, but a little to much manual labor for a simple task :) – Vitaly Kushner May 20 '10 at 19:08
Alas, sometimes to customize parts of the operating system to perform a simple task, it requires a little labour. :) – ghoppe May 20 '10 at 20:53


Enable 'Require password ...' in Security panel General tab.

Then paste this in Terminal:

defaults -currentHost write askForPassword -int 0

To undo:

defaults -currentHost write askForPassword -int 1
share|improve this answer

You could always disable your screensaver so that it never activates.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .