Ask Your Question

how to recover root password in "fedora 19"

asked 2014-04-02 02:47:57 -0500

emmanuelps gravatar image

updated 2014-09-28 15:39:34 -0500

mether gravatar image

I have lost a root password, I want to recover it. Please help

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-04-02 03:34:48 -0500

cobra gravatar image

updated 2014-04-02 03:36:30 -0500

This is covered in some detail in the official documentation for Fedora. Look here:

You can use rescue mode, or you can use an install disk and the recovery option on that, or you can use the recovery mode from the main grub menu.

The basic process is:

  • boot up in rescue mode
  • Mount your system to a safe directory (recovery mode should do this for you)
  • use chroot to go live on your system as the root user
  • use the 'passwd' command to set the root password to whatever you want.
edit flag offensive delete link more


Cobra makes a point. However, since my user is a sudoer, sudo su then passwd root. Set new password... disco.

fetalvivisection gravatar imagefetalvivisection ( 2014-04-20 15:01:48 -0500 )edit

answered 2014-04-03 00:45:32 -0500

florian gravatar image

I had a similar problem recently.

This guide was very helpful. It has recover instructions for different scenarios.

Good luck!

edit flag offensive delete link more

Question Tools


Asked: 2014-04-02 02:47:57 -0500

Seen: 159 times

Last updated: Apr 03 '14