macOS 26 - Tahoe

The macOS system must configure the login window to prompt for username and password

STIG ID: APPL-26-005052 | SRG: SRG-OS-000104-GPOS-00051 | Severity: Medium | CCI: CCI-000764 | Vulnerability ID: V-277168

Description

The login window must be configured to prompt all users for both a username and a password.

By default, the system displays a list of known users on the login window, which can make it easier for a malicious user to gain access to someone else's account. Requiring users to type in both their username and password mitigates the risk of unauthorized users gaining access to the information system.

Check

C-81323r1148954_chk

Verify the macOS system is configured to prompt for username and password at the login window with the following command:

/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.loginwindow')\
.objectForKey('SHOWFULLNAME').js
EOS

If the result is not "true", this is a finding.

Fix

F-81228r1148955_fix

Configure the macOS system to prompt for username and password at the login window by installing the "com.apple.loginwindow" configuration profile.