The set password command changes the Tivoli® Storage Manager password for your workstation, or sets the credentials that are used to access another server.
If you omit the old and new passwords when you enter the set password command, you are prompted once for the old password and twice for the new password.
Passwords can be up to 63 character in length. Password constraints vary, depending on where the passwords are stored and managed, and depending on the version of the Tivoli Storage Manager server that your client connects to.
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.
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 Tivoli Storage Manager server database and are not case-sensitive.
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 Tivoli Storage Manager server database and are not case-sensitive.
On the command line, enclose a password in 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.
Quotation marks are not required when you type a password with special characters in an options file.
This command is valid for all clients.
>>-SET Password--+--------------+-------------------------------> '-oldpw--newpw-' >--+-----------------------------------------+------------------> '-otherserver--otheruserid--otherpassword-' .-TYPE=TSM------. >--+---------------+--+-------+-------------------------------->< +-TYPE=FILER----+ '-ALLVM-' +-TYPE=VCD------+ +-TYPE=VM-------+ +-TYPE=VMGUEST--+ '-TYPE=FASTBack-'
Use TYPE=TSM to specify the Tivoli Storage Manager password for your client. The default type is TYPE=TSM.
Use TYPE=FILER, on AIX, Linux, and Windows systems, to specify that this password is for snapshot difference operations on a file server.
For TYPE=FILER, you must specify a file server name, and the user ID and the password that is used to access the file server. For example: dsmc set password -type=filer myfiler filerid filerpasswd.
dsmc
set password -type=filer myfiler filerid 'pa$sword'
When you specify TYPE=FILER, the password is stored in the TSM.PWD file without validating that the password is valid. Passwords that are stored with TYPE=FILER can be shared between Tivoli Storage Manager nodes. For example, a password that is stored by NODE_A can be used by NODE_B. Only one set of credentials is stored per file server.
dsmc SET PASSWORD -type=VCD vcloud_host vcloud_administrator
vcloud_password
where:dsmc SET PASSWORD -type=VM hostname administrator password
where:Use the Preferences editor to set the vmchost, vmcuser, and vmcpw options.
You can also set the vmchost option in the client options file and then use the set password command to associate that host name with the administrator account and the administrative account password that is used to log on to that host. For example, set password TYPE=VM myvmchost.example.com administrator_name administrator_password.
set password -type=vmguest guest_VM_name administrator password
where:set password -type=vmguest ALLVM Administrator Password
You
can also set a combination of shared and individual credentials. For
example, if most virtual machines in your environment use the same
credentials, but a few virtual machines use different credentials,
you can use multiple set password commands to specify
the credentials. For example, assume that most virtual machines use "Administrator1" as
the login name and "Password1" as the password. Assume also
that one virtual machine, named VM2, uses "Administrator2" as
the login name and "Password2" as the password. The following
commands are used to set the credentials for this scenario: Use TYPE=FastBack, on Linux and Windows clients, to store the Tivoli Storage Manager FastBack credentials that are required for mounting and dismounting the FastBack volumes on the Windows FastBack server or DR Hub server.
dsmc set password 9.47.98.169 admin admin 123 -type=fastback
dsmc set password 9.47.98.169 WORKGROUP:admin admin 123 -type=fastback
dsmc set password windserv administrator windpass4 -type=fastback
This step establishes a domain name, a network share user ID, and a network share password to connect remotely to the repository.
dsmc set password type=fastback FBServer domain:networkaccessuserid
networkaccesspassword
The fbserver option specifies the short host name of the FastBack server workstation. For a FastBack DR Hub, the fbserver option specifies the short name of the workstation where the DR Hub is installed.
Networkaccessuserid is either the Windows administrator ID or the FastBack administration password.
Domain is the domain name of the user ID.
Networkaccesspassword is either the Windows administrator ID or the FastBack administration password.
These credentials are retrieved based on the short host name that you specify with the fbserver option.
The following examples use the set password command.
set password osecret nsecret
dsmc set password -type=filer myFiler.example.com root
Please enter password for user id "root@myFiler.example.com": ******** Re-enter the password for verification:******** ANS0302I Successfully done.
dsmc set password -type=filer myFiler.example.com root secret
dsmc set password -type=FASTBack myFastBackServer myUserId "pa$sword"
The server name that is specified, which is myFBServer in this example, must match the name you specify on the -fbserver option on a backup fastback or archive fastback command.
dsmc set password -type=fastback myFbServer DOMAIN:USERID myNetworkPass
dsmc set password -type=fastback myFbDrHub DOMAIN:administrator adminPasswd