SV-230231r627750_rule
V-230231
SRG-OS-000073-GPOS-00041
RHEL-08-010110
CAT II
10
Configure RHEL 8 to encrypt all stored passwords.
Edit/Modify the following line in the "/etc/login.defs" file and set "[ENCRYPT_METHOD]" to SHA512.
ENCRYPT_METHOD SHA512
Verify that the shadow password suite configuration is set to encrypt password with a FIPS 140-2 approved cryptographic hashing algorithm.
Check the hashing algorithm that is being used to hash passwords with the following command:
$ sudo grep -i crypt /etc/login.defs
ENCRYPT_METHOD SHA512
If "ENCRYPT_METHOD" does not equal SHA512 or greater, this is a finding.
V-230231
False
RHEL-08-010110
Verify that the shadow password suite configuration is set to encrypt password with a FIPS 140-2 approved cryptographic hashing algorithm.
Check the hashing algorithm that is being used to hash passwords with the following command:
$ sudo grep -i crypt /etc/login.defs
ENCRYPT_METHOD SHA512
If "ENCRYPT_METHOD" does not equal SHA512 or greater, this is a finding.
M
2921