Skip to main content

Set Password Policy from the CLI

To configure the parameters for the password policy, enter the following command:

$ policy password set [quality=value] [minlen=value] [minuppers=value] [mindigits=value] [minsymbols=value] [expiry=value] [lifetime=value] [remember=value]

Example:

JS
$ policy password set quality=strong minlen=10 minuppers=1 minsymbols=1 expiry=yes lifetime=30
New policy successfully set.

Note

Setting quality to basic makes the minimum password length the only requirement for creating a new password. Setting it to strong adds stricter requirements for password creation (e.g., checks for minimum length, minimum number of required upper case characters, digits, and symbols, etc.). Setting the Password quality to strong also prevents the use of dictionary words in passwords, and enforces a minimum number of 4 characters that must be different from the previous password.


The possible values for the configurable password parameters are:

Parameter

Values

Description

quality

basic, strong

Password strength

minlen

6 to 40

Minimum password length

minuppers

0 to 40

Minimum number of uppercase letters*

mindigits

0 to 40

Minimum number of digits*

minsymbols

0 to 40

Minimum number of symbols*

expiry

yes, no

Password persistence

lifetime

1 to 180 days

Password expiration period

minlifetime0Minimum number of days before a password can be changed
remember 5 –400

Number of previous passwords to prevent users from re-using

*only applies when quality = strong


See also "Policy Settings" in the associated User's Guide.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.