SV-281222r1184626_rule
V-281222
SRG-OS-000073-GPOS-00041
RHEL-10-600740
CAT I
10
Configure RHEL 10 to store only SHA512 encrypted representations of passwords.
Add or update the following line in the "/etc/login.defs" file:
ENCRYPT_METHOD SHA512
Verify RHEL 10 is configured so that the shadow file stores only encrypted representations of passwords with a hash value of SHA512 with the following command:
$ sudo 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-281222
False
RHEL-10-600740
Verify RHEL 10 is configured so that the shadow file stores only encrypted representations of passwords with a hash value of SHA512 with the following command:
$ sudo 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
5733