SV-226560r603265_rule
V-226560
SRG-OS-000480
GEN001980
CAT II
10
Edit the .rhosts, .shosts, hosts.equiv, shosts.equiv, /etc/passwd, /etc/shadow, and/or /etc/group files and remove entries containing a plus (+).
Check system configuration files for plus (+) entries.
Procedure:
# find / -name .rhosts -exec grep + {} \;
# find / -name .shosts -exec grep + {} \;
# find / -name hosts.equiv -exec grep + {} \;
# find / -name shosts.equiv -exec grep + {} \;
# grep + /etc/passwd
# grep + /etc/shadow
# grep + /etc/group
If the .rhosts, .shosts, hosts.equiv, shosts.equiv, /etc/passwd, /etc/shadow, and/or /etc/group files contain a plus (+) and do not define entries for NIS+ netgroups, this is a finding.
V-226560
False
GEN001980
Check system configuration files for plus (+) entries.
Procedure:
# find / -name .rhosts -exec grep + {} \;
# find / -name .shosts -exec grep + {} \;
# find / -name hosts.equiv -exec grep + {} \;
# find / -name shosts.equiv -exec grep + {} \;
# grep + /etc/passwd
# grep + /etc/shadow
# grep + /etc/group
If the .rhosts, .shosts, hosts.equiv, shosts.equiv, /etc/passwd, /etc/shadow, and/or /etc/group files contain a plus (+) and do not define entries for NIS+ netgroups, this is a finding.
M
4060