dsmsetpw

The dsmsetpw command changes the IBM Spectrum Protect™ password for your client node.

You must have root user authority to use this command.

To keep your password secure, issue the dsmsetpw command without your old password and new password. The system prompts you for each one. When you are prompted to enter your old and new passwords, you eliminate the possibility that another user can display your password.

If your IBM Spectrum Protect server is at version 6.3.3 or later, and if you use an LDAP directory server to authenticate passwords
Use any of the following characters to create a password:
a b c d e f g h i j k l m n o p q r s t u v w x y z
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0 1 2 3 4 5 6 7 8 9 . ! @ # $ % ^ & * _ - + = ` ( ) 
| { } [ ] : ; < > , ? / ~

Passwords are case-sensitive and are subject to more restrictions that can be imposed by LDAP policies.

If your IBM Spectrum Protect server is at version 6.3.3 or later, and if you do not use an LDAP directory server to authenticate passwords
Use any of the following characters to create a password:
a b c d e f g h i j k l m n o p q r s t u v w x y z
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0 1 2 3 4 5 6 7 8 9 . ! @ # $ % ^ & * _ - + = ` ( ) 
| { } [ ] : ; < > , ? / ~

Passwords are stored in the IBM Spectrum Protect server database and are not case-sensitive.

If your IBM Spectrum Protect server is earlier than version 6.3.3
Use any of the following characters to create a password:
a b c d e f g h i j k l m n o p q r s t u v w x y z
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0 1 2 3 4 5 6 7 8 9
_ - & + . 

Passwords are stored in the IBM Spectrum Protect server database and are not case-sensitive.

On the command line, enclose a password in single quotation marks (') if the password contains one or more special characters. The quotation marks ensure that the special characters are correctly interpreted as password characters. Without quotation marks, the special characters can be interpreted as shell escape characters, file redirection characters, or other characters that have significance to the operating system.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-DSMSETPW--+---------+--+--------------------------------+---><
             '-options-'  '- --oldpassword-- --newpassword-'   

Parameters

options
ERRORLOGName=file_path
Specifies the path and file name of the error log file to be used by this command. Output from only this command is logged to the specified file. Other commands and daemons write output to the error log file specified by the errorlogname option in options file dsm.sys or dsm.opt, or as specified by the DSM_LOG environment variable. If any part of the path you specify does not exist, the space management client creates it.
Help
Displays syntax and options for the command. Do not specify other options when you specify the help option.
oldpassword
The current IBM Spectrum Protect password for your client node.
newpassword
The new IBM Spectrum Protect password to set for your client node.

Examples

Task Command
Change your current IBM Spectrum Protect password from osecret to nsecret. dsmsetpw osecret nsecret