SV-221675r603260_rule
V-221675
SRG-OS-000072-GPOS-00040
OL07-00-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-221675
False
OL07-00-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
4089