Mac OsX 10.13 enable "askForPassword" via terminal command

gradinaruvasile
New Contributor

Hi,
In the previous Mac OsX releases the askForPassword/askForPasswordDelay properties could be set per user with the following commands:

defaults write /Users/$username/Library/Preferences/com.apple.screensaver.plist askForPasswordDelay -int $askForPasswordDelay

defaults write /Users/$username/Library/Preferences/com.apple.screensaver.plist askForPasswordDelay -int $askForPassword

But in 10.13 this does not seem to work anymore. The "askForPassword" property exists, but it is not taken into account. askForPasswordDelay is missing.

is there any way to replicate the functionality if these commands on Mac OsX 10.13?

2 REPLIES 2

gradinaruvasile
New Contributor

Just for the record we used mobile profiles to accomplish these tasks.

gachowski
Valued Contributor III

Yep changes were made in HS looks like Apple is cleaning this up...

https://developer.apple.com/library/content/featuredarticles/iPhoneConfigurationProfileRef/Introduction/Introduction.html

C