Why?! The screensaver will come on if you are AFK, and makes sense to require password to stop other people trying to access your data. Seems stupid to have it on for sleep but not for screensaver.
ergdegdeg said:The best solution I found is setting the screensaver so it does not require a password to wake up again and then putting the keychain in the menu bar (Applications > Utilities > Key Chain > Preferences > Show status in menu bar). So I can lock the screen whenever I want to without locking it all the time.
My screensaver is a clock. It's an advantage to be able to have it start running without having to log in each time I'd like to use the computer again. This is something you can do in Windows, by the way.
Why?! The screensaver will come on if you are AFK, and makes sense to require password to stop other people trying to access your data. Seems stupid to have it on for sleep but not for screensaver.
Here's the answer:
Enable 'Require password ...' in Security panel General tab. Then paste this in Terminal:
defaults -currentHost write com.apple.screensaver askForPassword -int 0
To undo:
defaults -currentHost write com.apple.screensaver askForPassword -int 1
This did not work for me on MacOS X 10.6.2 . It has some odd behavior. Turning on the security require password indeed had the exptected effect. But executing the default did not. The password was still required when the screen saver is stopped. Oddly at this point the require password bit is off in the system prefs (but in fact still on). To get it to turn off you have to set it back on, then off again.Thanks!!! This works great!
-Steve
Just noticed it applies to the sleep as well. So when you put it into sleep, it comes back on if you set it for 4 hours and open it less than that it seems. Back to the drawing board.
Thanks!!! This works great!
-Steve