GEN002060 - All .rhosts, .shosts, .netrc, or hosts.equiv files must be accessible by only root or the owner - .netrc perms

Information

If these files are accessible by users other than root or the owner, they could be used by a malicious user to set up a system compromise.

Solution

Ensure the permission for these files is set at 600 or less and the owner is the owner of the home directory that it is in. These files, outside of home directories (other than hosts.equiv in /etc and shosts.equiv in /etc/ssh; both are owned by root), have no meaning.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-227690r603266_rule, STIG-ID|GEN002060, STIG-Legacy|SV-40341, STIG-Legacy|V-4428, Vuln-ID|V-227690

Plugin: Unix

Control ID: cca36f22d69e6c5174be7d3ccfbb5c3a7372e37f3eefc00e8a2b15cf397ca5ab