SV-268421r1034203_rule
V-268421
SRG-OS-000028-GPOS-00009
APPL-15-000002
CAT II
10
Configure the macOS system to prompt users to enter a password to unlock the screen saver by installing the "com.apple.screensaver" configuration profile.
Verify the macOS system is configured to prompt users to enter a password to unlock the screen saver with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.screensaver')\
.objectForKey('askForPassword').js
EOS
If the result is not "true", this is a finding.
V-268421
False
APPL-15-000002
Verify the macOS system is configured to prompt users to enter a password to unlock the screen saver with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.screensaver')\
.objectForKey('askForPassword').js
EOS
If the result is not "true", this is a finding.
M
5661