Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to reset root password for sandbox hdp 2.4

avatar
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

avatar

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.

avatar
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 ?

avatar

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

Press any key and then start from step 2

avatar
Guru

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

Once it restart it is asking password.

avatar
Expert Contributor

It worked for me.

Thanks!

avatar
Super Guru

Try login in single user mode and reset passowrd.

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

avatar
Guru

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

avatar
Super Guru

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.

avatar

@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