LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-05-2017, 07:41 AM   #1
Safeway44
Member
 
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32

Rep: Reputation: Disabled
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.
 
Old 04-05-2017, 07:44 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,767

Rep: Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765Reputation: 2765
Quote:
Originally Posted by Safeway44 View Post
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?
 
Old 04-06-2017, 04:48 PM   #3
TheBigMing
Member
 
Registered: Dec 2008
Location: east anglia
Distribution: SuSE, antiX
Posts: 45

Rep: Reputation: 8
Thumbs up

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
 
Old 04-06-2017, 06:06 PM   #4
stanvan
Member
 
Registered: May 2007
Posts: 123

Rep: Reputation: 50
Quote:
Originally Posted by Safeway44 View Post
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.
 
Old 04-06-2017, 07:27 PM   #5
Safeway44
Member
 
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by stanvan View Post
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.
 
Old 04-06-2017, 07:33 PM   #6
Safeway44
Member
 
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TheBigMing View Post
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,
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.
 
Old 04-06-2017, 07:38 PM   #7
Safeway44
Member
 
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by wpeckham View Post
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.
 
Old 04-06-2017, 07:38 PM   #8
Safeway44
Member
 
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32

Original Poster
Rep: Reputation: Disabled
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?
 
Old 04-06-2017, 07:41 PM   #9
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
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.
 
Old 04-07-2017, 12:40 AM   #10
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Here's 'the answer' that I was reluctant to reveal after #2
(I even 'feared' revealing the 'secret' *web-research* terms: rw init=/bin/sh)

In #6, you likely -wrongly- typed a 'c' to get grub> prompt.
As punishment please study: http://gnu.org/software/grub/manual/...html#Interface
(or you can substitute the web-search that I used to find it: grub prompt manual)

Let us know, per (my favorite LQhowTo): http://linuxquestions.org/questions/...ml#post5669556
 
Old 04-07-2017, 11:45 AM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
Old 04-07-2017, 11:58 AM   #12
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
The funny part is they need to search help with a trivial problem like this.
 
1 members found this post helpful.
Old 04-07-2017, 12:26 PM   #13
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by Emerson View Post
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.
Old 04-07-2017, 05:09 PM   #14
Safeway44
Member
 
Registered: Apr 2017
Location: Land of the Lost
Distribution: Kali
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Jjanel View Post
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.
Old 04-08-2017, 04:46 AM   #15
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Cool! I'm glad you were 'thick skinned' to comments
Please use ThreadTools at top, to mark this as 'Solved'
(esp for future searchers!)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgot password. Please help. larryalk Slackware 4 05-05-2010 04:35 AM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
Forgot my Password khattaking Solaris / OpenSolaris 2 07-20-2006 12:33 PM
forgot password =( ?!?! j_miguel_y Linux - General 1 08-31-2004 11:58 AM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 07:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration