Changing a user password from the deduplication shell
Use the following procedures to change the password of a local user or an MSDP user from the deduplication shell.
Note:
Remote directory user passwords cannot be changed from the shell. They must be changed from the server on which they reside.
Use the following procedure to change the password of a local user or the default msdpadm user.
To change a local user password
- Open an SSH session to the server as the user that you want to change the password for. You can also log in as the msdpadm user, or for NetBackup Flex Scale, as an appliance administrator.
- (Optional) If you want to use a random password, generate one with the following command:
setting user random-password
- Run the following command:
setting user change-password username=<username>
Where <username> is the username of the user whose password you want to change.
- Follow the prompt to change the password.
The password must have between 15 and 32 characters and must include at least one uppercase letter, one lowercase letter, one number, and one special character (_.+~@={}?!).
- (Optional) By default, passwords do not expire. To specify an expiration date for the password, run the following command:
setting user set-password-exp-date username=<username> password_exp_date=<date>
Where <date> is the expiration date in YYYY-MM-DD format.
Once an expiration date has been set, you can view it with the following command:
setting user show-password-exp-date username=<username>
Use the following procedure to change the password of an MSDP user.
To change an MSDP user password
- Open an SSH session to the server as the msdpadm user, or for NetBackup Flex Scale, as an appliance administrator.
- (Optional) If you want to use a random password, generate one with the following command:
setting MSDP-user random-password
- Run one of the following commands:
Reset the password:
setting MSDP-user reset-password username=<username>
Follow the prompt to enter the new password.
Validate and change the password on NetBackup Flex Scale:
setting MSDP-user change-password username=<username>
Enter the existing password and then a new password.
The password must be between 15 and 32 characters and must include at least one uppercase letter, one lowercase letter, one number, and one special character (_.+~={}?!).