3PAR InForm® OS 2.3.1 CLI Administrator's Manual (320-200180 Rev B, February 2010)

3.11
Global Options and Environment Variables
InForm OS Version 2.3.1 3PAR InForm CLI Administrator’s Manual
3.2.6.1 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>.
See the 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.
3.2.6.2 Setting the TPDPWFILE Environment Variable
To reference a password stored using the TPDPWFILE environment variable, see the following
example:
3.2.6.3 Using the –pwf Option
To reference a stored password using the –pwf global option, see the following example:
Use of the
–pwf option overrides the use of the TPDPWFILE environment variable.
3.2.6.4 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.
$ setpassword –saveonly –file
<filename>
$ TPDPWFILE=~/my–pwfile
$ export TPDPWFILE
$ showsysmgr –pwf ~/my–pwfile