SV-208923r603263_rule
V-208923
SRG-OS-000106
OL6-00-000234
CAT II
10
SSH can emulate the behavior of the obsolete rsh command in allowing users to enable insecure access to their accounts via ".rhosts" files.
To ensure this behavior is disabled, add or correct the following line in "/etc/ssh/sshd_config":
IgnoreRhosts yes
To determine how the SSH daemon's "IgnoreRhosts" option is set, run the following command:
# grep -i IgnoreRhosts /etc/ssh/sshd_config
If no line, a commented line, or a line indicating the value "yes" is returned, then the required value is set.
If the required value is not set, this is a finding.
V-208923
False
OL6-00-000234
To determine how the SSH daemon's "IgnoreRhosts" option is set, run the following command:
# grep -i IgnoreRhosts /etc/ssh/sshd_config
If no line, a commented line, or a line indicating the value "yes" is returned, then the required value is set.
If the required value is not set, this is a finding.
M
2928