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:
- Login with the store SSL
credentials.
Logged in to Admin and store with store SSL credentials.java -Xmx64m -Xms64m \ -jar $KVHOME/lib/kvstore.jar runadmin \ -host $HOSTNAME -port 5000 -store mystore \ -store-security-dir $KVROOT/security
- Reset the admin password using
ALTER USER
command.
Statement completed successfully.kv-> execute 'ALTER USER <user_name> IDENTIFIED BY "<new_password>"'
Administrator should now be able to login with the new password.