SV-268512r1034476_rule
V-268512
SRG-OS-000104-GPOS-00051
APPL-15-002066
CAT I
10
Configure the macOS system to disable unattended or automatic login to the system by installing the "com.apple.loginwindow" configuration profile.
Verify the macOS system is configured to disable unattended or automatic login to the system with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.loginwindow')\
.objectForKey('com.apple.login.mcx.DisableAutoLoginClient').js
EOS
If the result is not "true", this is a finding.
V-268512
False
APPL-15-002066
Verify the macOS system is configured to disable unattended or automatic login to the system with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.loginwindow')\
.objectForKey('com.apple.login.mcx.DisableAutoLoginClient').js
EOS
If the result is not "true", this is a finding.
M
5661