SV-258113r1045232_rule
V-258113
SRG-OS-000072-GPOS-00040
RHEL-09-611120
CAT II
10
Configure RHEL 9 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 that RHEL 9 requires that passwords can have a maximum of four repeating characters of the same character class.
$ grep maxclassrepeat /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
maxclassrepeat = 4
If the value of "maxclassrepeat" is set to "0", more than "4", or is commented out, this is a finding.
V-258113
False
RHEL-09-611120
Verify that RHEL 9 requires that passwords can have a maximum of four repeating characters of the same character class.
$ grep maxclassrepeat /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
maxclassrepeat = 4
If the value of "maxclassrepeat" is set to "0", more than "4", or is commented out, this is a finding.
M
5551