Skip to main content

Reset Password

Admin CLI on Kubernetes

Be sure you read Using the Dremio Admin CLI on Kubernetes before putting anything learned on this page into practice on such a deployment.

Requirements​

  • Shut down all cluster nodes completely before running the command.

  • This command is run on the main node.

  • The first character in the password must not be a special character. You can use a special character for any character in the password except the first character.

Syntax​

Reset password command
<DREMIO_HOME>/bin/dremio-admin set-password \
-u <ACCOUNT_USER> \
-p <NEW_PASSWORD>

Options​

To obtain a list of options on the command line:

List reset password command options
./dremio-admin set-password -h

Restore options:

Reset password command options output
  -h, --help
show usage
-p, --password
password
-u, --username
username of user
note

If the --password option is specified without a value, the utility prompts for one interactively.

Example​

This following example resets the password for user123.

Reset password example
./dremio-admin set-password -u user123 -p dremio123

Steps to Reset a Password​

  1. Make sure all cluster nodes are shut down.

  2. On the main node, run the following command:

    Reset password
    <DREMIO_HOME>/bin/dremio-admin set-password -u <ACCOUNT_USER> -p <NEW_PASSWORD>
    caution

    You can use special characters for any character in the password except the first character. If you use a special character for the first character in the password, the password will fail.

  3. Look for the confirmation message:

    Confirmation message
    ...
    Password changed