HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual
The password file has a single line with your name and an encrypted six character minimum
password separated by a space. For example:
3paruser PPTpdJPDHuwnU
Additionally, you can also store your password using the setpassword command. Storing your
password is useful when you need to:
• Establish sessions when using the individual commands. Otherwise, you are prompted for
user and password information each time you issue a command.
• Allow unattended operations such as scheduled automatic tasks on the host.
Using the setpassword Command
To store a six character minimum password on your system, issue the setpassword command
to create a password file as displayed in the following example. Substitute a valid password file
for <filename>.
$ setpassword –saveonly –file <filename>
See the HP 3PAR InForm OS Command Line Interface Reference for additional information about
the setpassword command.
After the file is written, use either the –pwf global option or TPDPWFILE environment variable to
reference the stored password file.
Setting the TPDPWFILE Environment Variable
To reference a password stored using the TPDPWFILE environment variable, see the following
example:
$ TPDPWFILE=~/my–pwfile
$ export TPDPWFILE
Using the –pwf Option
To reference a stored password using the –pwf global option, see the following example:
$ showsysmgr –pwf ~/my–pwfile
Use of the –pwf option overrides the use of the TPDPWFILE environment variable.
CAUTION: The file containing the user's encrypted password must be protected from unwanted
access.
Using the -password Option
You can also specify an encrypted password using the -password <encrypted_password>
global option. Use of this option, overrides the use of the -pwf global option.
Caching Client Bytecode
Client bytecode contains the majority of functionality of the InForm OS CLI and is version specific.
The CLI caches the code required for communication for each different version of the InForm OS
running on the system. The TPDCACHEDIR environment variable controls the location of the cache
directory used by the CLI to determine the version of the InForm OS running on the system.
Global Options and Environment Variables 51