3.1.7 /etc/security/user - maxrepeats

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Defines the maximum number of times a character may appear in a password.

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=2

This means that a user may not use the same character more than twice in a password.

See Also

https://workbench.cisecurity.org/files/528