Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to reset root password for sandbox hdp 2.4

Highlighted

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
Highlighted

Re: How to reset root password for sandbox hdp 2.4

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.

Highlighted

Re: How to reset root password for sandbox hdp 2.4

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 ?

Highlighted

Re: How to reset root password for sandbox hdp 2.4

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

Press any key and then start from step 2

Highlighted

Re: How to reset root password for sandbox hdp 2.4

Guru

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

Once it restart it is asking password.

Highlighted

Re: How to reset root password for sandbox hdp 2.4

Rising Star

It worked for me.

Thanks!

Highlighted

Re: How to reset root password for sandbox hdp 2.4

Try login in single user mode and reset passowrd.

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

Highlighted

Re: How to reset root password for sandbox hdp 2.4

Guru

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

Highlighted

Re: How to reset root password for sandbox hdp 2.4

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.

Highlighted

Re: How to reset root password for sandbox hdp 2.4

@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

Don't have an account?
Coming from Hortonworks? Activate your account here