Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
04-05-2017, 07:41 AM
|
#1
|
Member
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32
Rep: 
|
Forgot my password
My password seems to be incorrect. Is there a way to reset it? I'm using latest Kali with CD.
Last edited by Safeway44; 04-05-2017 at 07:43 AM.
|
|
|
04-05-2017, 07:44 AM
|
#2
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,118
|
Quote:
Originally Posted by Safeway44
My password seems to be incorrect. Is there a way to reset it? I'm using latest Kali with CD.
|
Several ways. What have you tried?
|
|
|
04-06-2017, 04:48 PM
|
#3
|
Member
Registered: Dec 2008
Location: east anglia
Distribution: SuSE, antiX
Posts: 45
Rep:
|
I had a similar problem and found the answer here:
https://madalanarayana.wordpress.com...very-in-linux/
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
|
|
|
04-06-2017, 06:06 PM
|
#4
|
Member
Registered: May 2007
Posts: 123
Rep:
|
Quote:
Originally Posted by Safeway44
My password seems to be incorrect. Is there a way to reset it? I'm using latest Kali with CD.
|
If you are running Kali from the CD, the default password is toor.
|
|
|
04-06-2017, 07:27 PM
|
#5
|
Member
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32
Original Poster
Rep: 
|
Quote:
Originally Posted by stanvan
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.
Last edited by Safeway44; 04-06-2017 at 07:28 PM.
|
|
|
04-06-2017, 07:33 PM
|
#6
|
Member
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32
Original Poster
Rep: 
|
Quote:
Originally Posted by TheBigMing
|
Not able to get to the command line though.
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.
Last edited by Safeway44; 04-06-2017 at 07:41 PM.
|
|
|
04-06-2017, 07:38 PM
|
#7
|
Member
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32
Original Poster
Rep: 
|
Quote:
Originally Posted by wpeckham
Several ways. What have you tried?
|
I made an attempt with this:
http://www.geekyshows.com/2013/06/ho...nux-login.html
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.
|
|
|
04-06-2017, 07:38 PM
|
#8
|
Member
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32
Original Poster
Rep: 
|
Should I just delete the partition's and start new install again. How do I do that correctly if you think I should that is?
|
|
|
04-06-2017, 07:41 PM
|
#9
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375
|
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.
|
|
|
04-07-2017, 11:45 AM
|
#11
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
judging from all those blog posts, it seems that kali users forgetting their passwords is a rather common occurence 
|
|
1 members found this post helpful.
|
04-07-2017, 11:58 AM
|
#12
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
The funny part is they need to search help with a trivial problem like this.
|
|
1 members found this post helpful.
|
04-07-2017, 12:26 PM
|
#13
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Quote:
Originally Posted by Emerson
The funny part is they need to search help with a trivial problem like this.
|
Mr Robot never forgets his password!
|
|
1 members found this post helpful.
|
04-07-2017, 05:09 PM
|
#14
|
Member
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32
Original Poster
Rep: 
|
Quote:
Originally Posted by Jjanel
In #6, you likely -wrongly- typed a 'c' to get grub> prompt.
|
Typed correctly this time and solved,thanks.
|
|
1 members found this post helpful.
|
04-08-2017, 04:46 AM
|
#15
|
Member
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
|
Cool! I'm glad you were 'thick skinned' to comments
Please use ThreadTools at top, to mark this as 'Solved'
(esp for future searchers!)
|
|
|
All times are GMT -5. The time now is 12:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|