SV-239107r675129_rule
V-239107
SRG-OS-000109-GPOS-00056
PHTN-67-000035
CAT II
10
Open /etc/ssh/sshd_config with a text editor and ensure that the "PermitRootLogin" line is uncommented and set to the following:
PermitRootLogin no
At the command line, execute the following command:
# service sshd reload
At the command line, execute the following command:
# sshd -T|&grep -i PermitRootLogin
Expected result:
permitrootlogin no
If the output does not match the expected result, this is a finding.
V-239107
False
PHTN-67-000035
At the command line, execute the following command:
# sshd -T|&grep -i PermitRootLogin
Expected result:
permitrootlogin no
If the output does not match the expected result, this is a finding.
M
5323