The macOS system must not have a root account.

From Apple OS X 10.13 Security Technical Implementation Guide

Part of SRG-OS-000480-GPOS-00227

Associated with: CCI-000366

SV-96327r1_rule The macOS system must not have a root account.

Vulnerability discussion

To assure individual accountability and prevent unauthorized access, organizational users must be individually identified and authenticated.

Check content

To check if the root account is disabled, run the following command: defaults read /var/db/dslocal/nodes/Default/users/root.plist passwd ( "*" ) The output should be a single asterisk in quotes, as seen above. If the output is as follow, this is a finding: ( "********" )

Fix text

Disable the root account with the following command: /usr/sbin/dsenableroot -d

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer