Macos – How to re-enable grayed-out “Require password to wake this computer from sleep or screen saver” option on Mac OS X

macos

In System Preferences -> Security, the checkbox “Require password to wake this computer from sleep or screen saver” is grayed out:

screenshot

How can I re-enable the option so that I can turn it off?

I imagine this is something my IT department has rolled out using Managed Client (perhaps with these workarounds to make it actually work). Before starting the process of filing tickets with them, trying to explain the problem to them and convince them to change it, I thought it might be easier to circumvent the setting with SuperUser's help. I have tried

defaults -currentHost write com.apple.screensaver 'Require Password' -int 0

and

defaults -currentHost write com.apple.screensaver askForPassword -int 0

but neither has helped. The current defaults for are:

# defaults -currentHost read com.apple.screensaver 
{
    "Require Password" = 0;
    askForPassword = 0;
}

Directory Utility shows that the Mac is bound to an Active Directory domain; however, under the Services tab, Active Directory is not enabled.

Per Theo Belk's suggestion, I edited ~/Library/Preferences/ByHost/com.apple.screensaver.blahblah.plist with Property List Editor. That did indeed clear the checkbox, but just cosmetically: the Mac still asks for password after sleep, and resets the checkbox at that point. There is no plist for screensaver in /System/Library/User Template/English.lproj/Library/Preferences.

This is Mac OS 10.5.8.

Best Answer

Unless you have admin rights to the box where you can change the managed settings, it doesn't matter what you put into your own preferences, the managed settings will override it (since that's apparently how they have it configured). Regardless, I don't think it should be SuperUser's place to help you circumvent policies set forth by your management and/or IT group. You need to talk with them if you disagree with the setting.