AOSX-09-000565 - System must require individuals to be authenticated with an individual authenticator prior to using a group authenticator.

Information

Administrator users must never log in directly as root. To assure individual accountability and prevent unauthorized access, logging in as root over a remote connection must be disabled. Administrators should only run commands as root after first authenticating with their individual user names and passwords.

Solution

In order to make sure that PermitRootLogin is disabled by sshd, run the following command:

sudo sed -i.bak 's/^[#]*PermitRootLogin.*/PermitRootLogin no/' /etc/sshd_config

See Also

http://iasecontent.disa.mil/stigs/zip/U_Apple_OS_X_10-9_Workstation_V1R2_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-17, CAT|II, CCI|CCI-000770, Group-ID|V-58361, Rule-ID|SV-72791r1_rule, STIG-ID|AOSX-09-000565

Plugin: Unix

Control ID: a91edb65f4f9d83e60b97e834f7876a2a49cc6d1a96ef9161ec94de082e70f00