RHEL-06-000031 - The /etc/passwd file must not contain password hashes.

Information

The hashes for all user account passwords should be stored in the file '/etc/shadow' and never in '/etc/passwd', which is readable by all users.

Solution

If any password hashes are stored in '/etc/passwd' (in the second field, instead of an 'x'), the cause of this misconfiguration should be investigated. The account should have its password reset and the hash should be properly stored, or the account should be deleted entirely.

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(c), CAT|II, CCI|CCI-000196, Rule-ID|SV-217869r603264_rule, STIG-ID|RHEL-06-000031, STIG-Legacy|SV-50300, STIG-Legacy|V-38499, Vuln-ID|V-217869

Plugin: Unix

Control ID: 8c49ca58bda263f5ef4d55356b596559eaa3c0ba1823fd8df5e72d0479f05f87