STIGhubSTIGhub
STIGhub— A free STIG search and compliance tool·STIGs updated 1 hour ago
Powered by Pylon·Privacy·Terms·Feedback·© 2026 Beacon Cloud Solutions, Inc.
← Back to Apple macOS 27 Security Technical Implementation Guide

V-288871

CAT II (Medium)

The macOS system must disable root login.

Rule ID

SV-288871r1316110_rule

STIG

Apple macOS 27 Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-000764CCI-004045CCI-000213

Discussion

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-000080-GPOS-00048

Check Content

Verify the macOS system is configured to disable root login with the following command:

/usr/bin/dscl '/Local/Default' read '/Users/root' AuthenticationAuthority 2>/dev/null | /usr/bin/grep -c 'AuthenticationAuthority'

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

Fix Text

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

/usr/bin/fdesetup remove -user root
/usr/bin/dscl '/Local/Default' delete '/Users/root' AuthenticationAuthority