SV-281223r1208798_rule
V-281223
SRG-OS-000073-GPOS-00041
RHEL-10-600750
CAT I
10
Configure RHEL 10 to use the SHA-512 algorithm for password hashing.
Add or change the following line in the "[default]" section of the "/etc/libuser.conf" file:
crypt_style = sha512
Verify RHEL 10 user and group account administration utilities are configured to store only encrypted representations of passwords with the following command:
$ sudo grep crypt /etc/libuser.conf
crypt_style = sha512
If the "crypt_style" variable is not set to "sha512", is not in the defaults section, is commented out, or does not exist, this is a finding.
V-281223
False
RHEL-10-600750
Verify RHEL 10 user and group account administration utilities are configured to store only encrypted representations of passwords with the following command:
$ sudo grep crypt /etc/libuser.conf
crypt_style = sha512
If the "crypt_style" variable is not set to "sha512", is not in the defaults section, is commented out, or does not exist, this is a finding.
M
5733