Command Reference > Environment Variables for Command Line Programs > INFA_PASSWORD
  

INFA_PASSWORD

INFA_PASSWORD environment variable applies to the infacmd and infasetup command line programs.
Some infacmd and infasetup commands require a user password. You can provide a user password as an option with these commands, or you can store it as the environment variable INFA_PASSWORD.
You can use the INFA_PASSWORD environment variable to store different types of passwords. For example in the infasetup DefineDomain command, you can use the variable to set the keystore password. In the infacmd isp SetLDAPConnectivity command, you can use the variable to set the LDAP credential password. You may need to change the value of this variable based on the commands that you run.
Use the following steps as a guideline to use an encrypted password as an environment variable:
  1. 1. Use the command line program pmpasswd to encrypt the user password.
  2. pmpasswd generates and displays the encrypted password. For example, if you enter the password “monday,” it encrypts to f/wRb5PZsZnqESTDPeos7Q==.
  3. 2. Configure the password environment variable to set the encrypted value.

Configuring INFA_PASSWORD on UNIX

To configure INFA_PASSWORD on UNIX:
    1. At the command line, type:
    pmpasswd <password>
    pmpasswd returns the encrypted password.
    2. In a UNIX C shell environment, type:
    setenv INFA_PASSWORD <encrypted password>
    In a UNIX Bourne shell environment, type:
    INFA_PASSWORD = <encrypted password>
    export INFA_PASSWORD

Configuring INFA_PASSWORD on Windows

To configure INFA_PASSWORD on Windows:
    1. At the command line, type:
    pmpasswd <password>
    pmpasswd returns the encrypted password.
    2. Enter the environment variable INFA_PASSWORD, and set the value to the encrypted password.
    For information about setting environment variables on Windows, consult the Windows documentation.