1. Home
  2. Security Hardening
  3. DISA STIG Oracle Linux 6 V1R18
  4. OL6-00-000031 – The /etc/passwd file must not contain password hashes.

OL6-00-000031 – The /etc/passwd file must not contain password hashes.

Details

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.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles