Reset root password

Mikkel L. Ellertson mikkel at infinity-ltd.com
Sun Mar 29 17:57:05 UTC 2009


Rahul Sundaram wrote:
> Hi
> 
> If anybody can add the steps to reset if the boot loader is password
> protected as well, feel free to do so.
> 
> https://fedoraproject.org/wiki/Reset_Forgotten_Root_Password
> 
> Rahul
> 
It needs to be fleshed out, but for a password protested boot
loader, you can do it as long as you can boot from a CD/DVD. Boot
the install media in the rescue mode, chroot to the mounted root
file system, and run passwd to change the root password. (You can
probably grab most of the text from an explanation on how to
re-install Grub.)

I am not sure how the rescue mode handles an encrypted file system.
Will it mount one if you supply the password?

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the docs mailing list