troubleshooting Question

Cannot login to kali linux systetm under Virtualbox.

Avatar of George R. Kasica
George R. KasicaFlag for United States of America asked on
LinuxVirtualizationGolang
13 Comments1 Solution102 ViewsLast Modified:
System used to work perfectly. GUI comes up type root, ENTER, password ENTER, done
Now I get Sorry that didn't work. Try again.
No amount of tried will get me logged in.

Followed the below instructions to a T. No joy. I really don't want to spin up a new VM and load my utilities again. Any way to fix this>

How to Reset your Forgotten Root Password in Kali Linux 2019.2?

Step 1: Restart your Kali Linux, and when your computer boots up to Grub menu, use your downward arrow key to highlight 'Advanced Options for Kali/GNU linux', and then hit Enter key on the keyboard. 

Step 2: Highlight 'Recovery Mode', and then Press 'e' key on the keyboard.

Step 3: Now, On the Next Screen, Go to line linux and replace 'ro' with 'rw'. Also, go to the end of the line linux and then hit space key, and then type init=/bin/bash. Press 'f10' key (if you are using laptop, press fn + f10 key) on the keyboard. 

Step 4: Type command below to change password

        passwd root

and then hit enter. Type your password, and then hit Enter. Again, Re-type the password, and hit Enter. you will see the message, password updated successfully.

Step 5: Now, use the command below to reboot kali linux.

        reboot -f 

and then, hit Enter. 

Step 6: Let kali linux restart normally, and when you see login screen, enter new password. You will be able to login with that.

It's done 
ASKER CERTIFIED SOLUTION
George R. Kasica
System Administrator

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros