OL6-00-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_Oracle_Linux_6_V2R7_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-208808r793593_rule, STIG-ID|OL6-00-000031, STIG-Legacy|SV-64947, STIG-Legacy|V-50741, Vuln-ID|V-208808

Plugin: Unix

Control ID: 426f2b146ef879a660b74c0eb71a7a8a36aaf6619393ac428f18d56bb9bc1289