RHEL-06-000021 - The Red Hat Enterprise Linux operating system must not contain .shosts or shosts.equiv files.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The .shosts and shosts.equiv files are used to configure host-based authentication for the system via SSH. Host-based authentication is not sufficient for preventing unauthorized access to the system, as it does not require interactive identification and authentication of a connection request, or for the use of two-factor authentication.

Solution

Remove any found '.shosts' or 'shosts.equiv' files from the system.

# rm /[path]/[to]/[file]/.shosts
# rm /[path]/[to]/[file]/shosts.equiv

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_6_V2R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7, CAT|I, CCI|CCI-000366, CSCv6|9.1, Rule-ID|SV-217862r505923_rule, STIG-ID|RHEL-06-000021, STIG-Legacy|SV-109115, STIG-Legacy|V-100011, Vuln-ID|V-217862

Plugin: Unix

Control ID: f70307a99af1df7441bdd4a8a3f3f0b53547b9c90f923be81c102c2064afcc3e