SV-230233r627750_rule
V-230233
SRG-OS-000073-GPOS-00041
RHEL-08-010130
CAT II
10
Configure RHEL 8 to encrypt all stored passwords with a strong cryptographic hash.
Edit/modify the following line in the "/etc/pam.d/password-auth" and "etc/pam.d/system-auth" files and set "rounds" to a value no lower than "5000":
password sufficient pam_unix.so sha512 rounds=5000
Check that a minimum number of hash rounds is configured by running the following commands:
$ sudo grep rounds /etc/pam.d/password-auth
password sufficient pam_unix.so sha512 rounds=5000
$ sudo grep rounds /etc/pam.d/system-auth
password sufficient pam_unix.so sha512 rounds=5000
If "rounds" has a value below "5000", or is commented out in either file, this is a finding.
V-230233
False
RHEL-08-010130
Check that a minimum number of hash rounds is configured by running the following commands:
$ sudo grep rounds /etc/pam.d/password-auth
password sufficient pam_unix.so sha512 rounds=5000
$ sudo grep rounds /etc/pam.d/system-auth
password sufficient pam_unix.so sha512 rounds=5000
If "rounds" has a value below "5000", or is commented out in either file, this is a finding.
M
2921