1.102 SOL-11.1-040360

Information

Direct root account login must not be permitted for SSH access.

GROUP ID: V-216117RULE ID: SV-216117r959010

The system should not allow users to log in as the root user directly, as audited actions would be non-attributable to a specific user.

Solution

The root role is required.

Modify the sshd_config file

pfedit /etc/ssh/sshd_config

Locate the line containing:

PermitRootLogin

Change it to:

PermitRootLogin no

Restart the SSH service.

svcadm restart svc:/network/ssh

See Also

https://workbench.cisecurity.org/benchmarks/23873