SV-281190r1195445_rule
V-281190
SRG-OS-000071-GPOS-00039
RHEL-10-600310
CAT II
10
Configure RHEL 10 to enforce password complexity by requiring that 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 RHEL 10 enforces password complexity by requiring that at least one numeric character be used.
Check the value for "dcredit" with the following command:
$ sudo grep -s 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-281190
False
RHEL-10-600310
Verify RHEL 10 enforces password complexity by requiring that at least one numeric character be used.
Check the value for "dcredit" with the following command:
$ sudo grep -s 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
5733