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_V1R18_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 74cbbf2f2175ee18b6b5078f0638ec78bf27634fb53f0d5382e7895bd2b71ec6