SV-230377r627750_rule
V-230377
SRG-OS-000480-GPOS-00225
RHEL-08-020300
CAT II
10
Configure RHEL 8 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/pwquality.conf.d/ directory to contain the "dictcheck" parameter:
dictcheck=1
Verify RHEL 8 prevents the use of dictionary words for passwords.
Determine if the field "dictcheck" is set in the "/etc/security/pwquality.conf" or "/etc/pwquality.conf.d/*.conf" files with the following command:
$ sudo grep dictcheck /etc/security/pwquality.conf /etc/pwquality.conf.d/*.conf
dictcheck=1
If the "dictcheck" parameter is not set to "1", or is commented out, this is a finding.
V-230377
False
RHEL-08-020300
Verify RHEL 8 prevents the use of dictionary words for passwords.
Determine if the field "dictcheck" is set in the "/etc/security/pwquality.conf" or "/etc/pwquality.conf.d/*.conf" files with the following command:
$ sudo grep dictcheck /etc/security/pwquality.conf /etc/pwquality.conf.d/*.conf
dictcheck=1
If the "dictcheck" parameter is not set to "1", or is commented out, this is a finding.
M
2921