Support Questions

Find answers, ask questions, and share your expertise

How to reset Ambari Admin password?

avatar

I have forgot Ambari Admin password after I had changed it from default, not able to login to Ambari UI now. Please suggest.

1 ACCEPTED SOLUTION

avatar

An easier way, just run command bellow from linux terminal in ambari server host:

ambari-admin-password-reset

View solution in original post

12 REPLIES 12

avatar
Rising Star

Artem, can you tell me how or where the ambari-admin-password-reset command is located. I'm guessing it's an alias, but it's not set in root on the ambari server. So where is it defined since you're saying it's not a file of some sort.

avatar
New Contributor

Just to contribute with alternative options for such case: my HDP sandbox had been used since beginning of HDP tutorial, i figure some configs were spoiled at the point that needed agentes and services went down. To stop running out of time, I just downloaded/imported a new Virtualbox HDP sandbox - since that, i could get back on track - i.e. Interact with sandbox following tutorial instructions ("HDP > develop with hadoop > Hello World", "6. Interactive SQL on Hadoop with Hive LLAP ", "Enable Ambari Admin Login" , https://br.hortonworks.com/tutorial/learning-the-ropes-of-the-hortonworks-sandbox/#section3 , '2.2 Setup Ambari admin Password Manually' ) - it has gone fine.

avatar

The best answer is not up to date. From Ambari-2.7.0 this works (as commented by @Akhil S Naik😞 https://community.hortonworks.com/articles/217295/ambari-270-how-to-reset-ambari-admin-password-from...


- Dennis Jaheruddin

If this answer helped, please mark it as 'solved' and/or if it is valuable for future readers please apply 'kudos'.