Change a Password

This article explains how to change a user’s password.

This procedure is carried out using ConfD.

Prerequisites

To perform this task you must be a member of the exaadm group.

Procedure

The following examples use ConfD through the command-line tool confd_client, which is available on all database nodes. For more information, see ConfD.

Placeholder values are indicated with UPPERCASE characters. Replace the placeholders with your own values.

  1. Connect to EXAClusterOS (COS) on the cluster using c4 connect -t <DEPLOYMENT>[.<NODE>]/cos. For example:

    ./c4 connect -t 1.11/cos

    If you do not specify a node, c4 will connect to the first active node in the deployment.

    For more information about how to use c4 connect, see How to use c4.

  2. To find the user name, use the ConfD job user_list:

    confd_client user_list
  3. To change the password, use the ConfD job user_passwd. For example:

    confd_client user_passwd username: USERNAME password: NEW_PASSWORD

The password is encoded by default.

Verification

Attempt to log in using the new password.

See also