SV-216117r603268_rule
V-216117
SRG-OS-000480
SOL-11.1-040360
CAT II
10
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
Determine if root login is disabled for the SSH service.
# grep "^PermitRootLogin" /etc/ssh/sshd_config
If the output of this command is not:
PermitRootLogin no
this is a finding.
V-216117
False
SOL-11.1-040360
Determine if root login is disabled for the SSH service.
# grep "^PermitRootLogin" /etc/ssh/sshd_config
If the output of this command is not:
PermitRootLogin no
this is a finding.
M
4021