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

how do I reset both?
Fedora 16 Verne
Reply With Quote
Old 3rd March 2012, 06:32 PM
jpollard Offline
Registered User
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 7,346
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:
# 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 06:34 PM. Reason: unintentional early post...
Reply With Quote
Old 4th March 2012, 01:46 AM
weitjong's Avatar
weitjong Offline
Registered User
Join Date: Oct 2006
Location: Singapore, 新加坡
Posts: 989
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

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 08:06 PM
forgot root password, how to reset? gala_dragos Using Fedora 8 18th January 2008 10:29 PM
forgot root password wapgeek Using Fedora 10 10th January 2005 03:17 AM

Current GMT-time: 15:03 (Monday, 25-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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