SV-208808r603263_rule
V-208808
SRG-OS-000480
OL6-00-000031
CAT II
10
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.
To check that no password hashes are stored in "/etc/passwd", run the following command:
# awk -F: '($2 != "x") {print}' /etc/passwd
If it produces any output, then a password hash is stored in "/etc/passwd".
If any stored hashes are found in /etc/passwd, this is a finding.
V-208808
False
OL6-00-000031
To check that no password hashes are stored in "/etc/passwd", run the following command:
# awk -F: '($2 != "x") {print}' /etc/passwd
If it produces any output, then a password hash is stored in "/etc/passwd".
If any stored hashes are found in /etc/passwd, this is a finding.
M
2928