5.2.13 Ensure password maximum repeated characters is configured

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.

See Also

https://workbench.cisecurity.org/benchmarks/10385

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1), CSCv7|4.4

Plugin: Unix

Control ID: 5ed67b25486e454c5852d2b0d7da88b71e8c5a3db9d56c360073b0348397cf71