Support Questions

Find answers, ask questions, and share your expertise

Resetting the Ranger admin password from the command line

New Contributor

Good afternoon,


A while back I  built a new cluster to test various services. I forgot to jot down the Ranger admin password, and was curious if there is a way to reset it if you don't know the current password? I read through several posts that reference, but that requires you to know the old password. 😞 Hoping there is a way to reset it so I don't have to reinstall everything.


@Mickster99 You can reset it by executing below query in backend DB.

update x_portal_user set password = 'ceb4f32325eda6142bd65215f4c0f371' where login_id = 'admin';


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.