INFA_DEFAULT_PWX_OSEPASSWORD
INFA_DEFAULT_PWX_OSEPASSWORD environment variable applies to the infacmd pwx command line program.
Some infacmd pwx commands require an operating system password. You can provide an encrypted password as an option with infacmd pwx, or you can store it as the environment variable INFA_DEFAULT_PWX_OSEPASSWORD.
Use the following steps as a guideline to use an encrypted password as an environment variable:
- 1. To encrypt the password, use the pmpasswd command line program.
The pmpasswd program generates and displays the encrypted password. For example, if you enter the password “monday,” it encrypts to f/wRb5PZsZnqESTDPeos7Q==.
- 2. Configure the password environment variable to set the encrypted value.
Configuring INFA_DEFAULT_PWX_OSEPASSWORD on UNIX
To configure INFA_DEFAULT_PWX_OSEPASSWORD on UNIX:
1. At the command line, type:
pmpasswd password
The pmpasswd program returns the encrypted password.
2. In a UNIX C shell environment, type:
setenv INFA_DEFAULT_PWX_OSEPASSWORD encrypted_password
In a UNIX Bourne shell environment, type:
INFA_DEFAULT_PWX_OSEPASSWORD = encrypted_password
export INFA_DEFAULT_PWX_OSEPASSWORD
Configuring INFA_DEFAULT_PWX_OSEPASSWORD on Windows
To configure INFA_DEFAULT_PWX_OSEPASSWORD on Windows:
1. At the command line, type:
pmpasswd password
The pmpasswd program returns the encrypted password.
2. Enter the environment variable INFA_DEFAULT_PWX_OSEPASSWORD, and set the value to the encrypted password.
For information about setting environment variables on Windows, see the Windows documentation.