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

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|I, CCI|CCI-000366, Rule-ID|SV-217862r603264_rule, STIG-ID|RHEL-06-000021, STIG-Legacy|SV-109115, STIG-Legacy|V-100011, Vuln-ID|V-217862

Plugin: Unix

Control ID: a84783d4b54c3c9ddad439bfcb1283539f64772cf56ad424d348199599785abe