Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Recover Password
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
gorilah
n00b
n00b


Joined: 19 Jul 2006
Posts: 1

PostPosted: Wed Jul 19, 2006 7:39 pm    Post subject: Recover Password Reply with quote

How can you recover root password if you have forgotten it? Any help will be appreciated
Back to top
View user's profile Send private message
forgotten1
Guru
Guru


Joined: 11 Jan 2005
Posts: 477
Location: East Coast, USA

PostPosted: Wed Jul 19, 2006 8:02 pm    Post subject: Reply with quote

recovering root password
_________________
Return the Favor | Problem fixed? Add [Solved] to your title | Google the Forums
Back to top
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2416
Location: UK

PostPosted: Wed Jul 19, 2006 8:03 pm    Post subject: Reply with quote

Quote:
How can you recover root password if you have forgotten it?
You can't but you can boot with the LiveCD and set the password field in /etc/shadow to <null>, e.g.
Code:
root:$1$r8RnxgJB$IHJGbZuwoVavc9eQj2cCp.:13137:0:99999:7:::
to
Code:
root::13137:0:99999:7:::
root then doesn't have a password and you can boot normally and set a new one.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4838
Location: Gothenburg, Sweden

PostPosted: Wed Jul 19, 2006 10:00 pm    Post subject: Reply with quote

Moved from Documentation, Tips & Tricks to Duplicate Threads in favour of the above mentioned thread. Please follow up to that thread if necessary. Please also note that the Documentation, Tips & Tricks forum is not for posting support requests. Thanks and good luck.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum