Setting default password policies
Learn how to set your password policy to the default attribute values.
Setting the default password policy
Run the set-default-pwpolicy command to set your password policy to the following default password policy attribute values.
Password Policy Attribute | Default Value | Remarks |
---|---|---|
minlife (hours) | 1 | The minimum period of Password Lifetime (hours). |
history | 0 | The number of previous passwords that are stored and which a user is prevented from using. |
minclasses | 4 | The minimum number of required classes of characters. |
minlength | 15 | The minimum number of required characters for a password. |
lockouttime (seconds) | 600 | The period (in) seconds for which a lockout is enforced. |
maxfail | 6 | The maximum number of consecutive failures. |
maxlife (days) | 90 | The maximum period of Password Lifetime (in days). |
failinterval | 60 | The period (in seconds) after which the failure count will be reset. |
Setting the default password policy for group-level
To set the default password policy for a group-level group, run the
set-default-pwpolicy command and specify --systemrole. For
example:
[root@e1n1~]# apsysusermgmt set-default-pwpolicy --systemrole=Admin
Password policy has been reset successfully to the default value.