The macOS system must disable unattended or automatic login to the system.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-277121 | APPL-26-002066 | SV-277121r1148815_rule | CCI-000764 | high |
| Description | ||||
| Automatic login must be disabled. When automatic logins are enabled, the default user account is automatically logged on at boot time without prompting the user for a password. Even if the screen is later locked, a malicious user would be able to reboot the computer and find it already logged in. Disabling automatic logins mitigates this risk. Satisfies: SRG-OS-000104-GPOS-00051, SRG-OS-000480-GPOS-00229 | ||||
| STIG | Date | |||
| Apple macOS 26 (Tahoe) Security Technical Implementation Guide | 2026-02-11 | |||
Details
Check Text (C-277121r1148815_chk)
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.
Fix Text (F-81181r1148814_fix)
Configure the macOS system to disable unattended or automatic login to the system by installing the "com.apple.loginwindow" configuration profile.