SV-258117r1015116_rule
V-258117
SRG-OS-000073-GPOS-00041
RHEL-09-611140
CAT II
10
Configure RHEL 9 to store only SHA512 encrypted representations of passwords.
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 -i 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-258117
False
RHEL-09-611140
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 -i 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
5551