202
CAUTION:
The specified action to be taken after a user fails to log in for the specified number of attempts takes
effect immediately and can affect the users already in the blacklist. Other password control
configurations take effect only for users logging in later and passwords configured later.
Setting user group password control parameters
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Create a user group and
enter user group view.
user-group
group-name
—
3.
Configure the password
aging time for the user group.
password-control aging
aging-
time
Optional.
By default, the password aging
time configured in system view is
used.
4.
Configure the minimum
password length for the user
group.
password-control length
length
Optional.
By default, the minimum password
length configured in system view
is used.
5.
Configure the password
composition policy for the
user group.
password-control composition
type-number
type-number
[
type-
length
type-length
]
Optional.
By default, the password
composition policy configured in
system view is used.
Setting local user password control parameters
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Create a local user and enter
local user view.
local-user
user-name
—
3.
Configure the password
aging time for the local user.
password-control aging
aging-
time
Optional.
By default, the setting for the user
group to which the local user
belongs is used. If no aging time
is configured for the user group,
the setting in system view is used.
4.
Configure the minimum
password length for the local
user.
password-control length
length
Optional.
By default, the setting for the user
group to which the local user
belongs is used. If no minimum
password length is configured for
the user group, the setting in
system view is used.