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

Warning! Audit Deprecated

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

View Next Audit Version

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

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

Plugin: Unix

Control ID: 33cf580fbca1f37ebe29c7af9b4d191f9f5bece286d4a5abc80381dcf762353c