The forbidden word command configures a password configuration rule.
The undo forbidden word command deletes a forbidden password string.
By default, no forbidden password string is configured.
Parameter | Description | Value |
---|---|---|
word |
Specifies a forbidden password string. After a forbidden password string is configured, new passwords cannot contain this string, regardless of case. |
The value is a string of 1 to 255 case-insensitive characters. Except the question mark (?) and space. However, when quotation marks (") are used around the password, spaces are allowed in the password. |
Usage Scenario
To improve device security, run the forbidden word command to set a forbidden password string to prevent users from configuring simple passwords.
Configuration Impact
The forbidden word command takes effect only with local users' passwords. After the forbidden word command is executed, a newly configured or modified password cannot contain any forbidden password string. Otherwise, the configuration fails. If an existing password contains a forbidden password string, the system will prompt the user to change the password. The user, however, can continue to use the password.
Precautions
A device supports a maximum of 32 password configuration rules. Each rule can specify only one forbidden password string.