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

How to reset root password for sandbox hdp 2.4

Guru

I changed root password at very first time but it was a quite long time and now I forgot that password.

So can anyone help me to reset it again in hdp 2.4

11 REPLIES 11

1. Go to grub menu

2. Select line starting with kernel and press e

3. In next screen add s at end of line and press enter.

4. In next screen press b which will log you in as root without password.

5. Change password using passwd.

Guru

@Rahul Pathak: I tried to go to grub menu in VM fusion by hitting shift during reboot but did not get success.

So can you please let me know how to go to grub menu ?

When you boot sandbox it says Press any key to enter menu.

Press any key and then start from step 2

Guru

Thanks @Rahul Pathak: I tried it but it still asking password after step 4.

Once it restart it is asking password.

Rising Star

It worked for me.

Thanks!

Try login in single user mode and reset passowrd.

http://linuxpitstop.com/boot-oracle-virtual-machine-into-single-user-mode/

Guru

@Jitendra Yadav: Can you help me to do it in VM Fusion please ?

When you restart the sandbox you will see the VMware BIOS Screen just before OS starts and then press and hold the Shift key and the Grub Boot Menu should appear.

@Saurabh KumarCan you verify that you see same as in below screenshots?

Step 2

5379-step2.png

Step 3

5380-step3.png

Step 4

5381-step4.png