HP VPN Firewall Appliances Access Control Command Reference

Table Of Contents
249
password-control length
Use password-control length to set the minimum password length.
Use undo password-control length to restore the default.
Syntax
password-control length length
undo password-control length
Default
The global minimum password length is 10 characters. The minimum password length of a user group
equals the global setting. The minimum password length of a local user equals that of the user group to
which the local user belongs.
Views
System view, user group view, local user view
Default command level
2: System level
Parameters
length: Minimum password length in characters, in the range of 8 to 32.
Usage guidelines
The setting in system view has global significance and applies to all user groups. The setting in user
group view applies to all local users in the user group. The setting in local user view applies to only the
local user.
A minimum password length setting with a smaller application range has higher priority. The system
prefers the setting for a local user. If there is no setting for the local user, the system will use the setting for
the user group. If there is no setting for the user group, the system will use the global setting.
Examples
# Set the global minimum password length to 9 characters.
<Sysname> system-view
[Sysname] password-control length 9
# Set the minimum password length to 9 characters for user group test.
[Sysname] user-group test
[Sysname-ugroup-test] password-control length 9
[Sysname-ugroup-test] quit
# Set the minimum password length to 9 characters for local user abc.
[Sysname] local-user abc
[Sysname-luser-abc] password-control length 9
Related commands
display password-control
local-user
user-group