Ask Different is a question and answer site for power users of Apple hardware and software. 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

Here's my first question:

In Lion, if you turn on Filevault, you can no longer modify the System Preferences/Security & Privacy/Require password... after sleep or screensaver. The value is forced to 'immediately' and changes are not saved. If you haven't turned on Filevault, this setting acts as expected.

Has anyone found a workaround?

It's not a security feature, in that you can set the screensaver not to come on for hours (or never), but it sure is annoying for those folks who reach over and wiggle the mouse when the screensaver comes on.

A postscript: my workaround is to change the setting and never close System Preferences. Dumb, but it works.

share|improve this question
Wow - that is one of the most awesome workarounds for a bug I've seen lately. – bmike Aug 19 '11 at 3:56
Hmm, I can't reproduce this here with 10.7.1 and FV2 enabled, changing the "Require password.." settings works just fine. Maybe there is something wrong with your preferences in general. – patrix Oct 2 '11 at 7:14
I'm having the same problem. Writing the pref from the command-line doesn't seem to work. – djc Oct 7 '11 at 19:52

Upgrade to Mac OS X 10.7.2 or higher for the Security and Privacy setting "Require password time period after sleep or screen saver begins" to be respected after FileVault is enabled (though I don't see anything about this fix on the download page). There is no longer a need to keep System Preferences open forever (what a silly but effective fix) or any of the other workarounds.

share|improve this answer

I haven't been able to test it on Lion, but this works fine on Snow Leopard for disabling the password requirement on screensaver: defaults -currentHost write askForPassword -int 0

share|improve this answer
The defaults command shows that the settings that were active before turning on Filevault are still set. The system ignores them and asks for a password as soon as the screensaver has been activated. – zzz Aug 19 '11 at 17:35

You can force System Preferences to quit. It doesn't get a chance to reset the the wait before dying.

You can see the current value with: defaults read Mine now looks like this:

    askForPassword = 1;
    askForPasswordDelay = 3600;
    tokenRemovalAction = 0;

This also worked for setting the value without the hack of forcing system prefs to quit: defaults -currentHost write askForPasswordDelay -int 3600 and I'd imagine the suggestion to set askForPassword would work too.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.