Fedora Linux Support Community & Resources Center
  #1  
Old 3rd March 2012, 05:14 PM
shanx Offline
Registered User
 
Join Date: Jan 2012
Location: India
Posts: 26
windows_7chrome
Exclamation Forgot user and root password(Fedora 16 Verne)!!

how do I reset both?
Fedora 16 Verne
Reply With Quote
  #2  
Old 3rd March 2012, 05:32 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,865
linuxfirefox
Re: Forgot user and root password(Fedora 16 Verne)!!

Boot into recovery using a CD, and have it mount the target.

You can then change the password by something like:
Code:
# chroot /mnt/syslinux
# passwd                          (this will change roots password)
# passwd <username>      (this will change the users password)
# exit
And reboot without the recovery CD.

Last edited by jpollard; 3rd March 2012 at 05:34 PM. Reason: unintentional early post...
Reply With Quote
  #3  
Old 4th March 2012, 12:46 AM
weitjong Offline
Registered User
 
Join Date: Oct 2006
Location: Singapore, 新加坡
Posts: 944
linuxfirefox
Re: Forgot user and root password(Fedora 16 Verne)!!

Alternatively, if you are able to access grub/grub2 entries then you can reset the root password by booting into single-user mode (runlevel 1). That is, append "1" at then end of the kernel line. After Fedora boots, just use the passwd as suggested jpollard.

p.s. This shows how important to protect the grub entries with password. But then again, if some stranger can access your machine physically then all bets are lost. I hope you are not playing the "stranger" role here .
__________________
YaoWT - Leave no window unbroken ♪ (^。^) 
Reply With Quote
Reply

Tags
forgot, passwordfedora, root, user, verne

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Oh No Forgot User Password duke11235 Using Fedora 2 25th May 2010 12:08 AM
forgot my root password noobusinglinux Security and Privacy 2 21st September 2009 05:57 AM
Forgot Root Password xi-tufan Using Fedora 3 14th December 2008 07:06 PM
forgot root password, how to reset? gala_dragos Using Fedora 8 18th January 2008 09:29 PM
forgot root password wapgeek Using Fedora 10 10th January 2005 02:17 AM


Current GMT-time: 15:26 (Wednesday, 22-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Didouche Mourad Photos on Instagram - Cleethorpes Travel Photos - Lubao