SV-230237r1017056_rule
V-230237
SRG-OS-000120-GPOS-00061
RHEL-08-010160
CAT II
10
Configure RHEL 8 to use a FIPS 140-2 approved cryptographic hashing algorithm for system authentication.
Edit/modify the following line in the "/etc/pam.d/password-auth" file to include the sha512 option for pam_unix.so:
password sufficient pam_unix.so sha512
Verify that the pam_unix.so module is configured to use sha512.
Check that the pam_unix.so module is configured to use sha512 in /etc/pam.d/password-auth with the following command:
$ sudo grep password /etc/pam.d/password-auth | grep pam_unix
password sufficient pam_unix.so sha512
If "sha512" is missing, or is commented out, this is a finding.
V-230237
False
RHEL-08-010160
Verify that the pam_unix.so module is configured to use sha512.
Check that the pam_unix.so module is configured to use sha512 in /etc/pam.d/password-auth with the following command:
$ sudo grep password /etc/pam.d/password-auth | grep pam_unix
password sufficient pam_unix.so sha512
If "sha512" is missing, or is commented out, this is a finding.
M
2921