SV-269393r1050276_rule
V-269393
SRG-OS-000071-GPOS-00039
ALMA-09-036650
CAT II
10
Configure AlmaLinux OS 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:
dcredit = -1
Remove any configurations that conflict with the above value.
Verify that AlmaLinux OS 9 enforces password complexity by requiring at least one numeric character with the following command:
$ grep -r dcredit /etc/security/pwquality.conf*
/etc/security/pwquality.conf.d/stig.conf:dcredit = -1
If the value of "dcredit" is a positive number, is not set, is commented out, or if conflicting results are returned, this is a finding.
V-269393
False
ALMA-09-036650
Verify that AlmaLinux OS 9 enforces password complexity by requiring at least one numeric character with the following command:
$ grep -r dcredit /etc/security/pwquality.conf*
/etc/security/pwquality.conf.d/stig.conf:dcredit = -1
If the value of "dcredit" is a positive number, is not set, is commented out, or if conflicting results are returned, this is a finding.
M
5664