There must be no .rhosts, .shosts, hosts.equiv, or shosts.equiv files on the AIX system.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-215432 | SRG-OS-000480-GPOS-00229 | AIX7-00-003138 | SV-215432r991591_rule | 2026-02-06 | 3 |
Description
Trust files are convenient, but when used in conjunction with the remote login services, they can allow unauthenticated access to a system.
ℹ️ Check
Check for the existence of the files using:
# find / -name .rhosts
# find / -name .shosts
# find / -name hosts.equiv
# find / -name shosts.equiv
If ".rhosts", ".shosts", "hosts.equiv", or "shosts.equiv" are found, this is a finding.
✔️ Fix
Remove the ".rhosts", ".shosts", "hosts.equiv", and/or "shosts.equiv" files.