OL6-00-000019 - There must be no .rhosts or hosts.equiv files on the system - '/etc/hosts.equiv'

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Trust files are convenient, but when used in conjunction with the R-services, they can allow unauthenticated access to a system.

Solution

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.

# rm /etc/hosts.equiv

$ rm ~/.rhosts

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_6_V1R17_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7, CAT|I, CCI|CCI-001436, CSCv6|9.1, Group-ID|V-50719, Rule-ID|SV-64925r1_rule, STIG-ID|OL6-00-000019, Vuln-ID|V-50719

Plugin: Unix

Control ID: 3cec315a864afe2caaa356a423cb746eab5e25a3647ae43756df977b1c20fb00