SV-258103r1045210_rule
V-258103
SRG-OS-000071-GPOS-00039
RHEL-09-611070
CAT II
10
Configure RHEL 9 to enforce password complexity by requiring at least one numeric character be used by setting the "dcredit" option.
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 "dcredit" parameter:
dcredit = -1
Verify that RHEL 9 enforces password complexity by requiring at least one numeric character.
Check the value for "dcredit" with the following command:
$ grep dcredit /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:dcredit = -1
If the value of "dcredit" is a positive number or is commented out, this is a finding.
V-258103
False
RHEL-09-611070
Verify that RHEL 9 enforces password complexity by requiring at least one numeric character.
Check the value for "dcredit" with the following command:
$ grep dcredit /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:dcredit = -1
If the value of "dcredit" is a positive number or is commented out, this is a finding.
M
5551