Information
This recommendation removes all instances ofrhostsshosts andnetrc files from the system.
Therhostsshosts andnetrc files can be used to circumvent normal login or change control procedures. The existence of such files, with the relevant entries, can allow remote user access to a system bypassing local user and password authentication. Unless required these files will be removed from all user home directories.
Solution
Remove therhosts andnetrc files from all user home directories:
find / -name ".netrc" -exec rm {} ;
find / -name ".rhosts" -exec rm {} ;
find / -name ".shosts" -exec rm {} ;