modifyconfigdbpwd CLI command


Use this command to modify the default password for the Configuration Database.

When you install TrueSight IT Data Analytics, by default, the SA (super admin) user with corresponding default password is used for accessing the Configuration Database.

As a security precaution or as part of your normal maintenance, you might want to change the default password for accessing the Configuration Database. You might also need to change the password in a scenario where you forgot the previous password that was set. In these scenarios, as an administrator, you can use this command to change the default password (or the previous password) and protect against unauthorized access.

Running this command results in a restart of the following services:

  • Console Server
  • Search (all instances)
  • Collection Station (all instances)

Note

Before running the command, ensure that the following components are up and running:

  • Configuration Database
  • Console Server
  • Indexer (all instances)

Also, after running this command, ensure that all the product components are up and running. To understand the status of each of the components, navigate to the Administration > Components page. For more information, see Viewing-component-status-and-associated-properties.

To understand the syntax and examples, see:

Syntax

Note

Before you run the command, note the following points:

modifyconfigdbpwd -d <hostname> -p <portNumber> -u <username> -w <password> -newpwd <newPassword> [-l <locale>] [-v] [-s]
  • Angle brackets (< >) indicate a variable value that needs to be user defined.
  • Square brackets ([ ]) indicate optional parameters.

The following table describes the parameters used in the syntax:

Example inputs

The following example provides the input for viewing the modifying the password to "Adm1n@toR2016".

modifyconfigdbpwd -d localhost -p 9797 -u admin -w admin12345 -newpwd Adm1n@toR2016