HP 3PAR OS 3.1.3 CLI Administrator's Manual
Setting the TPDSOCKSSL Environment Variable on Solaris, Linux, HP-UX, and AIX
To set the TPDSOCKSSL environment variable in Solaris, Linux, HP-UX, and AIX see the following
system output example:
$ TPDSOCKSSL=1
$ export TPDSOCKSSL
$ cli
Setting the TPDSOCKSSL Environment Variable on Windows
To set the TPDSOCKSSL environment variable in Windows:
1. On the taskbar, click the Start→Settings→Control Panel.
2. In Control Panel, double-click the System icon.
3. In the System Properties dialog box, click the Advanced tab.
4. Click Environment Variables.
5. Enter TPDSOCKSSL in the Variable box.
6. Enter 1 in the Value box.
7. Click OK.
Using the -sockssl Option
A secure CLI connection is also available for single instances of a command. On the command
line, enter –sockssl following the command name. See the following output example:
$ createuser –sockssl
Setting the TPDSYSNAME Environment Variable
By setting the system name, you are not prompted for your system name, user name, and password
when running the CLI, which can be useful for scripting.
You can specify the system name in the following three ways:
• Set the TPDSYSNAME environment variable.
• Use the –sys command line global option.
• Enter the system name when prompted.
Setting the TPDSYSNAME Environment Variable on Solaris, Linux, HP-UX, and AIX
To set the environment variable on Solaris, Linux, HP-UX, or AIX see the following system output
example. Substitute your system name for <sysname> and use the correct syntax for your shell.
$ TPDSYSNAME=<sysname>
$ export TPDSYSNAME
$ cli
Setting the TPDSYSNAME Environment Variable on Windows
• To set the environment variable in Microsoft Windows for one instance of a Command Prompt
window, run set TPDSYSNAME=<sysname>. Substitute <sysname> with the name of your
system. The environment variable remains in effect for that window until you exit that window.
• To set the environment variable in Windows indefinitely and for all newly created Command
Prompt windows:
1. Perform Step 1 through Step 4 of the procedure for setting the TPDSOCKSSL environment
variable in Windows as described in “Using SSL” (page 47).
48 Running the HP 3PAR Command Line Interface