Encrypting the password for the database user account with the madpwd2 utility

Use the madpwd2 utility to encrypt database passwords.

Procedure

  1. On the command line, go to the InfoSphere® MDM installation directory (MDM_INSTALL_HOME). Then go to the bin directory. For example:

    Microsoft Windows: cd MDM_INSTALL_HOME\bin

    Linux® or UNIX: cd /opt/MDM_INSTALL_HOME/bin

  2. Run this command:
    
    madpwd2.exe -e plaintextPwd
    

    where plaintextPwd is the original password for the database user account in plain text format. You created the account as a part of configuring the database.

    This text is displayed in the output:

    
    PLAINTEXT = (plaintextPwd)
    ENCRYPTED = (2AEBE6CA01432400F4619011D8AC5B50)
    DECRYPTED = (plaintextPwd)
    

    where 2AEBE6CA01432400F4619011D8AC5B50 is the newly encrypted password string.

  3. Save the encrypted password string in a safe place; then, apply the literal string when prompted for the corresponding value when you create your MDM_INSTALL_HOME.