SV-227584r603266_rule
V-227584
SRG-OS-000078
GEN000585
CAT II
10
Edit /etc/security/policy.conf and add or change the CRYPT_DEFAULT setting to something other than __unix__, such as 6. Allowable values for CRYPT_DEFAULT may be found in the /etc/security/crypt.conf file.
Change any passwords using non-compliant hashes.
Verify no password hash in /etc/passwd or /etc/shadow begins with a character other than an underscore (_) or dollar sign ($).
# cut -d ':' -f2 /etc/passwd | egrep -v '^[*!$_]'
# cut -d ':' -f2 /etc/shadow | egrep -v '^[*!$_]'
If any unlocked password hash is present without an initial underscore (_) or dollar sign ($) character, this is a finding.
V-227584
False
GEN000585
Verify no password hash in /etc/passwd or /etc/shadow begins with a character other than an underscore (_) or dollar sign ($).
# cut -d ':' -f2 /etc/passwd | egrep -v '^[*!$_]'
# cut -d ':' -f2 /etc/shadow | egrep -v '^[*!$_]'
If any unlocked password hash is present without an initial underscore (_) or dollar sign ($) character, this is a finding.
M
4061