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