STIGUI
V-216184CAT I — High severitySV-216184r959010_rule

There must be no user .rhosts files.

Rule version SOL-11.1-070050 · STIG v3 · 2026-08-19

Discussion

Even though the .rhosts files are ineffective if support is disabled in /etc/pam.conf, they may have been brought over from other systems and could contain information useful to an attacker for those other systems.

Check

The root role is required.

Check for the presence of .rhosts files.

# for dir in \ `logins -ox | awk -F: '($8 == "PS") { print $6 }'`; do find ${dir}/.rhosts -type f -ls 2>/dev/null done

If output is produced, this is a finding.

Fix

The root role is required.

Remove any .rhosts files found.

# rm [file name]

Identifiers

Group ID
V-216184
Group title
SRG-OS-000480
Rule ID
SV-216184r959010_rule
Check ID
C-17422r372934_chk
Fix ID
F-17420r372935_fix