SV-269400r1050283_rule
V-269400
SRG-OS-000073-GPOS-00041
ALMA-09-037420
CAT I
10
Configure AlmaLinux OS 9 to use the SHA-512 algorithm for password hashing.
Add or update the following line in the "/etc/login.defs" file:
ENCRYPT_METHOD SHA512
Verify the system's shadow file is configured to store only encrypted representations of passwords with a hash value of SHA512 with the following command:
$ grep ENCRYPT_METHOD /etc/login.defs
ENCRYPT_METHOD SHA512
If "ENCRYPT_METHOD" does not have a value of "SHA512", or the line is commented out, this is a finding.
V-269400
False
ALMA-09-037420
Verify the system's shadow file is configured to store only encrypted representations of passwords with a hash value of SHA512 with the following command:
$ grep ENCRYPT_METHOD /etc/login.defs
ENCRYPT_METHOD SHA512
If "ENCRYPT_METHOD" does not have a value of "SHA512", or the line is commented out, this is a finding.
M
5664