Support Questions
Find answers, ask questions, and share your expertise

Setting the passowrd for Ambari admin

New Contributor

I am new to HDP and using Sandbox. I am trying to log on Ambari but when I try run the reset command via SSH client with root/hadoop combination it says access denied.

7 REPLIES 7

@Santosh Tiwari you need to run the command as sudo. The full command will be "sudo ambari-admin-password-reset"

Explorer

Dear All,

Thank you for your replies.

Example commands re sandbox version or sudo for the ambari admin..

I also attached an screenshot. I tried redeploying the solution on Azure, but same issues.

hdp is the username I specified during the Azure setup. Login with root/hadoop is not possible.

3311-screen-shot-2016-04-08-at-31459-pm.png

Thank you

Contributor

@Markus

Check whether you can switch to root using either one of the following methods.

$ su root
$ sudo -i

Explorer

Thank you - that worked.

Topic can be closed.

Thx again

Contributor

@Markus

Please accept the answer to close the thread.

New Contributor

Thanks it worked. Please mark this as closed.

New Contributor

Thanks. This worked.