Previous Topic: Set Minimum Numbers of Types of Characters

Next Topic: Limit Repetition of Substrings

Limit Repetition of Characters

To limit repetition within the password, use the following command:

set password-max-repetition = number-chars | 0 ;

This lets you set the number of times a character can be repeated within a password.

Example: Prevent Character Repetitions

You have set up the following password policy in the Democorp DSA:

set password-policy = true;
set password-max-repetition = 2;

Users in this directory cannot create the following passwords:

However, they can create the following passwords:

More information:

set password-max-repetition Command