RHEL-07-040540 - The Red Hat Enterprise Linux operating system must not contain .shosts files.

Information

The .shosts files are used to configure host-based authentication for individual users or 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' files from the system.

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

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|I, CCI|CCI-000366, Rule-ID|SV-204606r991589_rule, STIG-ID|RHEL-07-040540, STIG-Legacy|SV-86901, STIG-Legacy|V-72277, Vuln-ID|V-204606

Plugin: Unix

Control ID: 473e209e81924b38c61a60ab7c6e7376059b9afc7ca537ca8a174005603f1622