Changing a user password

You can use several methods to change the password of an existing user, select one from the list. To change the password of an existing user, you must have administrative access.

Updating a non-admin user password with theIBM Operations Analytics Log Analysis UI

  1. Open the IBM® Operations Analytics Log Analysis UI and click Administrative settings.
  2. Select the Users tab.
  3. Click the edit icon edit icon. A new Edit <username> window opens.
  4. Change the users password details in the Edit <username> window.
  5. To save your changes, click OK.

Resetting the unityadmin password (non-LDAP configuration) with the resetUnityadminPass.sh script

This procedure resets the unityadmin password to a default password of unityadmin.
Note: This procedure has no effect if LDAP is configured.
  1. Run <LA_HOME>/utilities/resetUnityadminPass.sh.
  2. When prompted, use 'Y' to confirm that you want to reset the unityadmin password.

Updating the unityadmin password or any admin password with the unity_configFile_cred_update.sh script (configuration file update only)

  1. Run <LA_HOME>/utilities/unity_configFile_cred_update.sh, and provide a new password when prompted.
  2. The script updates the password in the following configuration files:
    • <HOME>/IBM/LogAnalysis/utilities/datacollector-client/javaDatacollector.properties
    • <HOME>/IBM/LogAnalysis/remote_install_tool/config/rest-api.properties
    • <HOME>/IBM/LogAnalysis/UnityEIFReceiver/config/unity.conf
    • <HOME>/IBM/LogAnalysis/utilities/pkg_mgmt.sh
    • <HOME>/IBM/LogAnalysis/solr_install_tool/scripts/register_solr_instance.sh
  3. Manually update the unityadmin username and password for the deleteUtility utility.

Updating the unityadmin password manually

Use the following steps to update the encrypted password in the following files to match the updated password.

  1. To generate the encrypted password, use the unity_securityUtility.sh utility in the <HOME>/IBM/LogAnalysis/utilities directory. For example,
    unity_securityUtility.sh encode password
    • <HOME>/IBM/LogAnalysis/utilities/datacollector-client/javaDatacollector.properties. For example,
      #The password to use to access the unity rest service
      password={aes}EF712133E0677FEBB30624BA5EE62BC2
    • <HOME>/IBM/LogAnalysis/remote_install_tool/config/rest-api.properties. For example,
      ibm.scala.rest.password={aes}EF712133E0677FEBB30624BA5EE62BC2
    • <HOME>/IBM/LogAnalysis/UnityEIFReceiver/config/unity.conf. For example,
      unity.data.collector.password={aes}EF712133E0677FEBB30624BA5EE62BC2
    • <HOME>/IBM/LogAnalysis/utilities/pkg_mgmt.sh. For example,
      PASSWD={aes}EF712133E0677FEBB30624BA5EE62BC2
    • The <HOME>/IBM/LogAnalysis/utilities/deleteUtility/delete.properties file determines the username. For example:
      userName=unityadmin

      The <HOME>/IBM/LogAnalysis/utilities/deleteUtility/callDeleteUtility.sh file determines the password. For example:

      python $SCALA_HOME/utilities/deleteUtility/deleteUtility.py {aes}EF712133E0677FEBB30624BA5EE62BC2
      Note: Update the <HOME>/IBM/LogAnalysis/utilities/deleteUtility/delete.properties file and <HOME>/IBM/LogAnalysis/utilities/deleteUtility/callDeleteUtility.sh file together.
  2. If you change the password that is used by the unityuser, you must update the password parameter in the <HOME>/IBM/LogAnalysis/solr_install_tool/scripts/register_solr_instance.sh script.
    password={aes}7A0B2401A8E29F37CD768CB78E205CAD