SV-227609r603266_rule
V-227609
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-227609
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
4061