SV-281187r1195436_rule
V-281187
SRG-OS-000072-GPOS-00040
RHEL-10-600280
CAT II
10
Configure RHEL 10 to require the change of the number of repeating characters of the same character class when passwords are changed by setting the "maxclassrepeat" 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 "maxclassrepeat" parameter:
maxclassrepeat = 4
Verify RHEL 10 limits the value of the "maxclassrepeat" option in "/etc/security/pwquality.conf" with the following command:
$ sud grep -s maxclassrepeat /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:maxclassrepeat = 4
If the value of "maxclassrepeat" is set to "0" or more than "4" or is commented out, this is a finding.
V-281187
False
RHEL-10-600280
Verify RHEL 10 limits the value of the "maxclassrepeat" option in "/etc/security/pwquality.conf" with the following command:
$ sud grep -s maxclassrepeat /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:maxclassrepeat = 4
If the value of "maxclassrepeat" is set to "0" or more than "4" or is commented out, this is a finding.
M
5733