167
Task
Remarks
Setting user group password control parameters
Optional
Setting local user password control parameters
Optional
Setting super password control parameters
Optional
Setting a local user password in interactive mode
Optional
Configuring password control
Enabling password control
To enable password control functions, you need to:
1.
Enable the password control feature in system view. Only after the password control feature is
enabled globally, can password control configurations take effect.
2.
Enable password control functions. Some password control functions need to be enabled
individually after the password control feature is enabled globally. These functions include:
Password aging
Minimum password length
Password history
Password composition checking
You must enable a function for its relevant configurations to take effect.
Follow these steps to enable password control:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the password control
feature
password-control
enable
Required
Disabled by default
Enable a password control
function individually
password-control
{
aging
|
composition
|
history
|
length
}
enable
Optional
All of the four password control
functions are enabled by default.
NOTE:
After global password control is enabled, local user passwords configured on the device are not
displayed when you use the corresponding display command.
Setting global password control parameters
Follow these steps to set global password control parameters:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Set the password aging time
password-control aging
aging-time
Optional
90 days by default