APPL-14-000100 - The macOS system must disable root logon.

Information

To ensure individual accountability and prevent unauthorized access, logging in as root at the login window must be disabled.

The macOS system must require individuals to be authenticated with an individual authenticator prior to using a group authenticator, and administrator users must never log in directly as root.

Satisfies: SRG-OS-000104-GPOS-00051,SRG-OS-000109-GPOS-00056,SRG-OS-000364-GPOS-00151

Solution

Configure the macOS system to disable root login with the following command:

/usr/bin/dscl . -create /Users/root UserShell /usr/bin/false

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apple_macOS_14_V1R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT, IDENTIFICATION AND AUTHENTICATION

References: 800-53|CM-5(1), 800-53|IA-2, 800-53|IA-2(5), CAT|II, CCI|CCI-000764, CCI|CCI-000770, CCI|CCI-001813, Rule-ID|SV-259444r940954_rule, STIG-ID|APPL-14-000100, Vuln-ID|V-259444

Plugin: Unix

Control ID: 5bc544c387a907b7889ffa90417a884b9caae4a35287d10a9a436be70abff1a2