Caching a password
About this task
Optionally, you can use the IBM® Spectrum Protect (formerly Tivoli® Storage Manager) connector to cache user passwords on their client system. If you cache the password, you do not have to specify the password for commands to the Tivoli Storage Manager connector (as described in The nzbackup and nzrestore commands with the Tivoli Storage Manager connector).
To cache a password for authentication, complete the following steps.
- Change to the following directory:
- Edit the dsm.sys file by using any text editor and
add the following line:
Review the file to make sure that there are no other lines that contain the PASSWORDACCESS parameter. If there are lines, comment them out.
- Save and close the dsm.sys file.
- As a test, log in as root and run the dsmc query session command to be prompted for the client password.
- Repeat steps 1 through 3 to edit the /opt/tivoli/tsm/client/api/bin/dsm.sys API client file. This allows nzbackup to run by using the Tivoli Storage Manager connector without specifying the Tivoli Storage Manager password.
The dsmc command is in the /opt/tivoli/tsm/client/ba/bin directory. The client installation also creates symbolic links to the Tivoli Storage Manager commands in the /usr/bin directory. If /usr/bin is included in your PATH variable, you need not specify a full path name to the command.
After the client authentication is successful, subsequent logins will not prompt for a password until the password changes at the Tivoli Storage Manager server.