3com 5500-ei pwr Guia De Referência
1-9
# Enable the limitation of the minimum password length.
[Sysname] password-control length enable
Password minimum length enabled for all users.
# Display the configuration of a user.
[Sysname] display local-user user-name test
The contents of local user test:
State: Active ServiceType Mask: F
Idle-cut: Disable
Access-limit: Disable Current AccessNum: 0
Bind location: Disable
Vlan ID: Disable
Authorization VLAN: Disable
MAC address: Disable
FTP Directory: flash:
Password-Aging: Enable 90 days
Password-Length: Enable 10 characters
Password-Composition: Disable
Password History was last reset 0 days ago.
# Disable the limitation of the minimum password length.
[Sysname] undo password-control length enable
Password minimum length disabled for all users.
# Disable the password aging feature. (This operation also disables the password control feature
globally.)
[Sysname] undo password-control aging enable
Password control will be disabled globally. And all user's password will be res
et. Are you sure? [Y/N]y
Password aging disabled for all users.
password-control composition
Syntax
password-control composition type-number policy-type [ type-length type-length ]
undo password-control composition
View
System view/local user view
Parameter
type-number policy-type: Sets the minimum number of character types that a password should contain.
The policy-type ranges from 1 to 4.
type-length type-length: Sets the minimum number of characters of each type. The type-length ranges
from 1 to 63.