SV-226483r603265_rule
V-226483
SRG-OS-000109
GEN001120
CAT II
10
Edit the configuration file and set the PermitRootLogin option to no.
Determine if the SSH daemon is configured to permit root logins.
Procedure:
# grep -v "^#" /etc/ssh/sshd_config | grep -i permitrootlogin
If the PermitRootLogin entry is not found or is not set to "no", this is a finding.
V-226483
False
GEN001120
Determine if the SSH daemon is configured to permit root logins.
Procedure:
# grep -v "^#" /etc/ssh/sshd_config | grep -i permitrootlogin
If the PermitRootLogin entry is not found or is not set to "no", this is a finding.
M
4060