IBM SmartCloud Analytics - Log Analysis, Version 1.2.0.3

Changing a password for an existing user

You can update the existing password by updating the default values in the basic user registry and other files. Use this procedure to update the passwords for the default users unityuser and unityadmin.

About this task

To update a password:

Procedure

  1. In a text editor, open the unityUserRegistry.xml file in the <HOME>/IBM/LogAnalysis/wlp/usr/servers/Unity directory.
  2. Locate the text:
    <user name="ISCLA_username" password="ISCLA_password" />
    where ISCLA_username is the username for which you want to change the password and ISCLA_password is the existing password for that user.
  3. Run the unity_securityUtility command in the <HOME>/IBM/LogAnalysis/utilities directory to encode the password that you have chosen. Run the command with the syntax:
    unity_securityUtility.sh encode password
    where password is the password that you want to encode. This command displays the encoded value for the password. Copy the encoded value to overwrite the existing password.
  4. Save the unityUserRegistry.xml file.
  5. If you change the password that is used by the unityuser, you must update the password in the following files to match the updated 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/eif_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/solr_install_tool/scripts/register_solr_instance.sh. For example:
      PASSWD={aes}EF712133E0677FEBB30624BA5EE62BC2
  6. If you change the password that is used by the unityuser, you must update the password parameter in the <HOME>/IBM/LogAnalysis/utilities/pkg_mgmt.sh script.
    password={aes}7A0B2401A8E29F37CD768CB78E205CAD


Feedback