Caching a password

Deployment options: Netezza Performance Server for Cloud Pak for Data System

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).

Restriction: If you use the Tivoli Storage Manager 5.4 client, you cannot use the cached password support. You must use PASSWORDACCESS prompt for the connector to work correctly.

To cache a password for authentication, complete the following steps.


  1. Change to the following directory:
    cd /opt/tivoli/tsm/client/ba/bin
  2. 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.

  3. Save and close the dsm.sys file.
  4. As a test, log in as root and run the dsmc query session command to be prompted for the client password.
  5. 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.