RHEL-06-000019 - There must be no .rhosts or hosts.equiv files on the system.

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|I, CCI|CCI-000366, Rule-ID|SV-217860r603264_rule, STIG-ID|RHEL-06-000019, STIG-Legacy|SV-50292, STIG-Legacy|V-38491, Vuln-ID|V-217860

Plugin: Unix

Control ID: 2b5d5f071576b335507d5b3446a7e3584ceda8dc8b553e720b7c1b8393252df1