SV-258110r1045223_rule
V-258110
SRG-OS-000480-GPOS-00225
RHEL-09-611105
CAT II
10
Configure RHEL 9 to prevent the use of dictionary words for passwords.
Add or update the following line in the "/etc/security/pwquality.conf" file or a configuration file in the "/etc/security/pwquality.conf.d/" directory to contain the "dictcheck" parameter:
dictcheck=1
Verify RHEL 9 prevents the use of dictionary words for passwords with the following command:
$ grep dictcheck /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:dictcheck = 1
If "dictcheck" does not have a value other than "0", or is commented out, this is a finding.
V-258110
False
RHEL-09-611105
Verify RHEL 9 prevents the use of dictionary words for passwords with the following command:
$ grep dictcheck /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:dictcheck = 1
If "dictcheck" does not have a value other than "0", or is commented out, this is a finding.
M
5551