HP StorageWorks P9000 Tiered Storage Manager Software 7.1 CLI Reference Guide (TB585-96011, May 2011)

Environment settings for encoding a password
There are two levels for encoding passwords, NORMAL and HIGH. If you encode a password in the
NORMAL level, environment settings are not required. For details about how to change the encoding
level to HIGH for generating a safer and more secure character string, see the HP StorageWorks
P9000 Command View Advanced Edition Suite Software Administrator Guide.
How to use the htsmaccount command
This section describes the htsmaccount command, which encodes a password and outputs it to the
htsmcli.properties file or password file. The htsmaccount command is stored in the following
locations:
On a management client:
If the OS is Windows:
system-drive\TieredStorageManager\Tiered-Storage-Manager-version\
CLI\
If the OS is Solaris, HP-UX, or Linux:
/opt/TieredStorageManager/Tiered-Storage-Manager-version/CLI/
On a management server:
If the OS is Windows:
installation-folder-of-the-Tiered-Storage-Manager-server\CLI\
If the OS is Linux:
installation-directory-of-the-Tiered-Storage-Manager-server/CLI/
Execute the htsmaccount command using the user account used to log in to the OS on which the
CLI (htsmcli) is executed. If you execute the CLI by using a user account different from the one that
was used to execute the htsmaccount command, an error might occur.
The format of the htsmaccount command is as follows:
htsmaccount { -u user-name [-f absolute-path-of-the-password-file] | help }
-u
Specify the Tiered Storage Manager user name that executes the CLI. If a user name has been
set for the option.username property in the htsmcli.properties file, specify the same
user name for the -u option. To change the user name that executes the CLI, you first need to
change the setting for the option.username property in the htsmcli.properties file. In
addition, if an encoded password is already set for the option.password2 property, delete
that value.
-f
Specify this option if you want to output the encoded password to a file. Use an absolute path to
specify the file name. If you specify the -f option, the path to the file is set for the option.pass-
word2 property in the htsmcli.properties file. If you omit the -f option, the character string
of the encoded password is set.
help
Displays Help for the htsmaccount command.
Preparations for executing the CLI26