Add Screensaver Password

This commit is contained in:
Marcel Bischoff 2015-12-30 22:56:32 +01:00
parent 7bf0c1befb
commit 9d35d95205

View File

@ -984,6 +984,18 @@ open /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/Scree
/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend
```
#### Screensaver Password
```bash
# Status
defaults read com.apple.screensaver askForPassword
# Enable
defaults write com.apple.screensaver askForPassword -int 1
# Disable (Default)
defaults write com.apple.screensaver askForPassword -int 0
```
### Wiping Data
#### Securely Remove File