The user-password min-len command configures the minimum length of a password in simple text mode.
The undo user-password min-len command restores the minimum length of a password in simple text mode to the default value.
By default, the minimum length of a password in simple text mode is not configured, that is, the minimum length of the passwords in simple text mode is 1.
Usage Scenario
To prevent security risks such as account stealing, run the user-password min-len command to raise password strength requirements.
Prerequisites
A local user has logged in to the device as an administrator.
Configuration Impact
After the user-password min-len command is configured, the length of the passwords configured for the subsequent users must exceed the minimum value; otherwise, the users cannot be created or the passwords cannot be modified.
Precautions
This command applies to the passwords in simple text mode only.
The user-password min-len command that is configured in the AAA view or local AAA server view takes effect only for users in the specific view and does not affect another in the other view.
If the login password does not satisfy the minimum password length requirements, the system prompts you to change your password. Change your password based on the prompted message.