SV-268443r1034269_rule
V-268443
SRG-OS-000104-GPOS-00051
APPL-15-000100
CAT II
10
Configure the macOS system to disable root login with the following command:
/usr/bin/dscl . -create /Users/root UserShell /usr/bin/false
Verify the macOS system is configured to disable root login with the following command:
/usr/bin/dscl . -read /Users/root UserShell 2>&1 | /usr/bin/grep -c "/usr/bin/false"
If the result is not "1", this is a finding.
V-268443
False
APPL-15-000100
Verify the macOS system is configured to disable root login with the following command:
/usr/bin/dscl . -read /Users/root UserShell 2>&1 | /usr/bin/grep -c "/usr/bin/false"
If the result is not "1", this is a finding.
M
5661