SV-281217r1195450_rule
V-281217
SRG-OS-000073-GPOS-00041
RHEL-10-600650
CAT II
10
Configure RHEL 10 to use the sha512 cryptographic hashing algorithm for local account passwords.
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 RHEL 10 configures the pam_unix.so module to use sha512 in "/etc/pam.d/password-auth" with the following command:
$ sudo grep "^password.*pam_unix.so.*sha512" /etc/pam.d/password-auth
password sufficient pam_unix.so sha512
If "sha512" is missing, or the line is commented out, this is a finding.
V-281217
False
RHEL-10-600650
Verify RHEL 10 configures the pam_unix.so module to use sha512 in "/etc/pam.d/password-auth" with the following command:
$ sudo grep "^password.*pam_unix.so.*sha512" /etc/pam.d/password-auth
password sufficient pam_unix.so sha512
If "sha512" is missing, or the line is commented out, this is a finding.
M
5733