Information
maxrepeats defines the maximum number of times a character may appear in a password.
Use of a complex password helps to increase the time and resources required to compromise the password. Passwords which consist of too many repeated characters have lower complexity and thus are easier to compromise.
Solution
In /etc/security/user set the default user stanza maxrepeats attribute to 4 :
chsec -f /etc/security/user -s default -a maxrepeats=4
This means that a user may not use the same character more than four (4) times in a password.
Impact:
Setting maxrepeats too low can prevent passwords which are sufficiently complex from being accepted. This value has been selected with respect to the recommended value of 14 for minlen If local site policy requires a longer minimum password length, you should review this value.