Defines the maximum number of times a character may appear in a password. Rationale: In setting the maxrepeats attribute, it enforces a maximum number of character repeats within a password.
Solution
In/etc/security/user, set the default user stanza maxrepeats attribute to 2: 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. This value has been increased from two (2) - in parallel with the increase in minlen from eight (8) to fourteen (14). Default Value: maxrepeats=8