Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ Deduplication Guide
  3. Using the NetBackup Deduplication Shell
  4. Managing users from the deduplication shell
  5. Changing a user password from the deduplication shell
NetBackup™ Deduplication Guide

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.

Changing a local user password

Use the following procedure to change the password of a local user or the default msdpadm user.

To change a local user password

  1. 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.
  2. (Optional) If you want to use a random password, generate one with the following command:

    setting user random-password

  3. Run the following command:

    setting user change-password username=<username>

    Where <username> is the username of the user whose password you want to change.

  4. 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 (_./@*!%#).

  5. (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>

Changing an MSDP user password

Use the following procedure to change the password of an MSDP user.

To change an MSDP user password

  1. Open an SSH session to the server as the msdpadm user, or for NetBackup Flex Scale, as an appliance administrator.
  2. (Optional) If you want to use a random password, generate one with the following command:

    setting MSDP-user random-password

  3. Run the following command:

    setting MSDP-user reset-password

  4. Follow the prompt to enter the new 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 (_./@*!%#).

Feedback

Was this page helpful?
Previous

Disconnecting an Active Directory domain from the deduplication shell

Next

Managing VLAN interfaces from the deduplication shell

Feedback

Was this page helpful?