Command Reference > Environment Variables for Command Line Programs > INFA_DEFAULT_DATABASE_PASSWORD
  

INFA_DEFAULT_DATABASE_PASSWORD

INFA_DEFAULT_DATABASE_PASSWORD environment variable applies to the infasetup command line program.
Some infasetup commands require a domain configuration database password. You can provide this password as an option with infasetup, or you can store it as the environment variable INFA_DEFAULT_DATABASE_PASSWORD.
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 database 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_DEFAULT_DATABASE_PASSWORD on UNIX

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

Configuring INFA_DEFAULT_DATABASE_PASSWORD on Windows

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