Remove Rsh Trust Files
The files '/etc/hosts.equiv' and '~/.rhosts' (in
each user's home directory) list remote hosts and users that are trusted by the
local system when using the rshd daemon.
To remove these files, run the following command to delete them from any
location:
'$ sudo rm /etc/hosts.equiv'
'$ rm ~/.rhosts'
Trust files are convenient, but when
used in conjunction with the R-services, they can allow
unauthenticated access to a system.
Fix:
find -type f -name .rhosts -exec rm -f '' \;
rm /etc/hosts.equiv
oval:org.secpod.oval:def:30372
oval:org.secpod.oval:def:31095
SCAP Repo OVAL Definition
2015-11-13