7.2 How to Change the Password for the Database Users

If you must change the password for the database users, use the following steps.

  1. Stop Tomcat. For more information, see Stopping, Starting, and Restarting Tomcat.

  2. Log in to the database server with the appropriate administrator tool and update the necessary users passwords. For example, igops

  3. Access the following directory in a terminal:

    • Linux: /opt/netiq/idm/apps/idgov/bin

    • Windows: C:\netiq\idm\apps\idgov\bin

  4. Enter the following command:

    • Linux: ./encode-password.sh %password-set-above%

    • Windows: encode-password.cmd %password-set-above%

    For example:

    ./encode-password.sh Netiq123
  5. Record the value that is returned.

  6. Repeat Step 4 and Step 5 for each database user.

  7. Navigate to the following directory:

    • Linux: /opt/netiq/idm/apps/tomcat/conf

    • Windows: C:\netiq\idm\apps\tomcat\conf

  8. Edit the server.xml file.

    1. Open the server.xml file in a text editor.

    2. Find the user name that you updated above:

      For example: username="igops"

    3. Find the password= entry fir that database connection, then replace the current value with the value you recorded in Step 5.

    4. Repeat these steps for each database user.

    5. Save and close the file.

  9. Restart Tomcat. For more information, see Stopping, Starting, and Restarting Tomcat.