Setting user group password control parameters
Enter system view.
system-view
Create a user group and enter its view.
user-group group-name
For information about how to configure a user group, see "Configuring AAA."
Configure the password aging time for the user group.
password-control aging aging-time
By default, the password aging time of the user group equals the global password aging time.
Configure the minimum password length for the user group.
password-control length length
By default, the minimum password length of the user group equals the global minimum password length.
Configure the password composition policy for the user group.
password-control composition type-number type-number [ type-length type-length ]
By default, the password composition policy of the user group equals the global password composition policy.
Configure the password complexity checking policy for the user group.
password-control complexity { same-character | user-name } check
By default, the password complexity checking policy of the user group equals the global password complexity checking policy.
Configure the login attempt limit.
password-control login-attempt login-times [ exceed { lock | lock-time time | unlock } ]
By default, the login-attempt policy of the user group equals the global login-attempt policy.