Previous Next JavaScript must be enabled to correctly display this content

## Guidelines for Resetting Admin Password

From Oracle NoSQL Database 24.3 release, Admin Command Line Interface (Admin CLI) supports authentication with the data store SSL credentials.

When you invoke the Admin CLI, you need to provide the security directory in the Storage Node of the data store. Administrators who have access to this security directory can login to the Admin CLI to reset the password when the password has been forgotten.

Note:

It is not recommended to run other CLI commands when you login to the Admin CLI with server SSL credentials.
Steps to reset admin password:

1. Login with the store SSL credentials.

       java -Xmx64m -Xms64m \
       -jar $KVHOME/lib/kvstore.jar runadmin \
       -host $HOSTNAME -port 5000 -store mystore \
       -store-security-dir $KVROOT/security

   Logged in to Admin and store with store SSL credentials.
2. Reset the admin password using `ALTER USER` command.

       kv-> execute 'ALTER USER <user_name> IDENTIFIED BY "<new_password>"'

   Statement completed successfully.

Administrator should now be able to login with the new password.