Skip to main content
Question

Mac OsX 10.13 enable "askForPassword" via terminal command

  • November 1, 2017
  • 2 replies
  • 4 views

Forum|alt.badge.img+2

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

Forum|alt.badge.img+2
  • Author
  • New Contributor
  • February 16, 2018

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


Forum|alt.badge.img+16
  • Honored Contributor
  • February 16, 2018

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