Skip to content

Instantly share code, notes, and snippets.

@talkingmoose
Last active June 5, 2020 17:21
Show Gist options
  • Select an option

  • Save talkingmoose/0674a053bd76eaf8d0fe8e451c65abc0 to your computer and use it in GitHub Desktop.

Select an option

Save talkingmoose/0674a053bd76eaf8d0fe8e451c65abc0 to your computer and use it in GitHub Desktop.
Enables or disables System Preferences > Security & Privacy > General > Require password and sets number of seconds to require password after sleep or screen saver begins
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>askForPassword</key>
<true/>
<key>askForPasswordDelay</key>
<integer>60</integer>
<key>idleTime</key>
<integer>840</integer>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment