Notice
This command is introduced in VAST Cluster 5.1.2.
This command modifies VMS password settings.
Usage
vms modify_pwd_settings [--id ID] [--min-pwd-length LENGTH] [--enable-pwd-uppercase-validation] [--disable-pwd-uppercase-validation] [--enable-pwd-lowercase-validation] [--disable-pwd-lowercase-validation] [--enable-pwd-numeric-validation] [--disable-pwd-numeric-validation] [--enable-pwd-special-chars-validation] [--disable-pwd-special-chars-validation] [--pwd-change-timeout TIMEOUT] [--pwd-expiration-timeout TIMEOUT] [--tmp-pwd-expiration-timeout TIMEOUT] [--max-failed-login-attempts ATTEMPTS] [--pwd-history-no-reuse-count COUNT] [--enable-pwd-change-timeout] [--disable-pwd-change-timeout] [--enable-pwd-expiration-timeout] [--disable-pwd-expiration-timeout] [--enable-max-failed-login-attempts] [--disable-max-failed-login-attempts] [--enable-pwd-history-no-reuse-count] [--disable-pwd-history-no-reuse-count]
Required Parameters
| Specifies the ID of the VMS resource. |
Options
| Sets the minimum required password length. Specify Default: 8 |
| Enables requirement of at least one uppercase character in VMS passwords. |
| Disables requirement of at least one uppercase character in VMS passwords. |
| Enables requirement of at least one lowercase character in VMS passwords. |
| Disables requirement of at least one lowercase character in VMS passwords. |
| Enables requirement of at least one numeric character in VMS passwords. |
| Disables requirement of at least one numeric character in VMS passwords. |
| Enables requirement of at least one non-alphanumeric character in VMS passwords. |
| Disables requirement of at least one non-alphanumeric character in VMS passwords. |
| Sets the time frame within which VMS managers may not change their passwords again after setting a new password if password change timeout is enabled. Specify Default: |
| Sets the password expiration timeout, which applies if password expiration timeout is enabled. Specify Default: |
| Sets the expiration timeout for the new managers' temporary passwords. Specify Default: |
| Sets the number of failed login attempts after which password lockout occurs if enabled. Specify Default: |
| Sets the number of previous passwords that VMS managers may not reuse if prevention of password reuse is enabled. Specify Default: |
| Enables prevention of password changes within the time frame set by |
| Disables prevention of password changes within the time frame set by |
| Enables expiration of VMS passwords after the time period set by |
| Disables expiration of VMS passwords. |
| Enables password lockout after a number of failed login attempts. The number of failed attempts is set by |
| Disables password lockout after a number of failed login attempts. |
| Enables prevention of VMS manager users from reusing a number of previous passwords, set by |
| Disables prevention of VMS manager users from reusing a number of previous passwords. |
Examples
To enable password expiration and set password expiration to 60 days:
vcli: admin> vms modify_pwd_settings --enable-pwd-expiration-timeout --pwd-expiration-timeout 60D
To enable enforcement of all forms of password complexity and to enforce manager lockout after 5 failed login attempts:
vcli: admin> vms modify_pwd_settings --enable-pwd-uppercase-validation --enable-pwd-lowercase-validation --enable-pwd-numeric-validation --enable-pwd-special-chars-validation --enable-max-failed-login-attempts --max-failed-login-attempts 5