Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It does require the use of the command line, but it is an excellent, full, clear & easy to follow exposition.
Good luck!
dmk
Addendum
Quote:
Originally Posted by TheBigMing
I had a similar problem and found the answer here:
[url]https://madalanarayana.wordpress.com...very-in-linux/
It does require the use of the command line,
Not able to get to the command line though.
to which Safeway44 replied:
Quote:
Article says after Grub screen:
"press ‘e’ here now you should be seeing three lines, the second line is the kernel line"
I press e and see a list and then:
Grub>
A Grub prompt which allows me to type anything after Grub>
Sorry, that's my fault. I should have specified the use of "chroot" which which forms the second part of the article
dmk
Last edited by TheBigMing; 04-08-2017 at 11:25 AM.
Reason: A correction - this post also shows at the end of
If you are running Kali from the CD, the default password is toor.
I've actually installed it on hard drive. During install it asked me to type a password so I'm assuming that is the password. I did write it down during this, and also was able to see what I was typing in the password box during the install. Odd.
Article says after Grub screen: "press ‘e’ here now you should be seeing three lines, the second line is the kernel line"
I press e and see a list and then:
Grub>
A Grub prompt which allows me to type anything after Grub>
BTW I don't see Kali (recovery mode) to choose from either.
But I didn't see what they see. In others words I didn't see a Terminal for me to type command prompts in black
No Kali recovery mode to choose from, I pressed e and got a prompt like this:
Grub>
I'm able to type after Grub>
Grub> is all in blue backdrop, not black like Terminal in the link above.
since it sounds like you have a live CD, just boot up the live CD, mount the filing system from the hard drive and chroot to the mounted hard drive, you should now be able to run passwd command as root. Afraid a bit too late in the night for me to give clearer instructions than that.
Alternatively on Grub, you can try to boot single user mode or initialize into a shell, both of those would should give the ability to reset it too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.