UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

There must be no .rhosts or hosts.equiv files on the system.


Overview

Finding ID Version Rule ID IA Controls Severity
V-219547 OL6-00-000019 SV-219547r603263_rule High
Description
Trust files are convenient, but when used in conjunction with the R-services, they can allow unauthenticated access to a system.
STIG Date
Oracle Linux 6 Security Technical Implementation Guide 2021-06-14

Details

Check Text ( C-21272r358181_chk )
The existence of the file "/etc/hosts.equiv" or a file named ".rhosts" inside a user home directory indicates the presence of an Rsh trust relationship.
If these files exist, this is a finding.
Fix Text (F-21271r358182_fix)
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