# Specify that the password of device management user abc must contain at least three types of
characters and each type must contain at least five characters.
[Sysname] local-user abc class manage
[Sysname-luser-manage-abc] password-control composition type-number 3 type-length 5
Related commands
• display password-control
• password-control composition enable
password-control enable
Use password-control enable to enable the password control feature globally.
Use undo password-control enable to disable the password control feature globally.
Syntax
password-control enable
undo password-control enable
Default
The password control feature is disabled globally.
Views
System view
Predefined user roles
network-admin
Usage guidelines
The specific password control functions can take effect only after the global password control feature is
enabled.
Examples
# Enable the password control feature globally.
<Sysname> system-view
[Sysname] password-control enable
Related commands
• display password-control
• password-control { aging | composition | history | length } enable
password-control expired-user-login
Use password-control expired-user-login to set the maximum number of days and maximum number of
times that a user can log in after the password expires.
Use undo password-control expired-user-login to restore the defaults.
142