SV-204413r603261_rule
V-204413
SRG-OS-000072-GPOS-00040
RHEL-07-010180
CAT II
10
Configure the operating system to require the change of the number of repeating consecutive characters when passwords are changed by setting the "maxrepeat" option.
Add the following line to "/etc/security/pwquality.conf conf" (or modify the line to have the required value):
maxrepeat = 3
The "maxrepeat" option sets the maximum number of allowed same consecutive characters in a new password.
Check for the value of the "maxrepeat" option in "/etc/security/pwquality.conf" with the following command:
# grep maxrepeat /etc/security/pwquality.conf
maxrepeat = 3
If the value of "maxrepeat" is set to more than "3", this is a finding.
V-204413
False
RHEL-07-010180
The "maxrepeat" option sets the maximum number of allowed same consecutive characters in a new password.
Check for the value of the "maxrepeat" option in "/etc/security/pwquality.conf" with the following command:
# grep maxrepeat /etc/security/pwquality.conf
maxrepeat = 3
If the value of "maxrepeat" is set to more than "3", this is a finding.
M
2899