Step by Step to Reset Change root Password on Fedora 10

 

Reset Change root Password on Fedora 10

 

   Forget root password on Fedora 10 ? need to reset or change the root password on Fedora 10 ? Please note that start from Fedora 10, you may no longer allow login as root user on Fedora 10 ... then you may not need to follow this step by step article to reset and change root password on Fedora 10.  To change the root password, this step by step article going to guide you to enter the runlevel 1 or single user mode and then change the root password on your Fedora 10 system using the passwd command... but if you still insist to log in as root on Fedora 10, this step by step article on login as root on Fedora 10 might be useful.

 

Step by step change root password:

 

1.  Boot up your Fedora 10 system, on the boot up splash screen press and hold shift key until you enter the GRUB screen as show on figure below

figure show Fedora 10 boot screen, press and hold "shift" key here and wait until GRUB boot menu screen appear

Fedora 10 boot up screen

 

2.  figure show Fedora 10 GRUB boot menu screen, if you have multiple operating system installed, you may have to select the Fedora 10 as show on figure below by using the 'up' and 'down' key... then hit the 'e' key to enter GRUB editing mode

Fedora 10 GRUB boot menu screen, if you have multiple operating system installed, you may have to select the Fedora 10

 

3.  Use the 'up' and 'down' key again, select the 'kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=27f6ac23-638f-439a-8a97-2baaf6a32922 rhgb quiet', and the hit the 'e' key again to edit the grub command line.

GRUB menu edit the Fedora 10 kernel line command

 

4.  The below screen appear after you hit the 'e' key, now notice that you mouse cursor at the end of line 'kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=27f6ac23-638f-439a-8a97-2baaf6a32922 rhgb quiet'.

GRUB edit mode rhgb quiet

 

5.  Change at the end of the line that say 'rhgb quiet' to 'linux single' as show on the example below.

From : kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=27f6ac23-638f-439a-8a97-2baaf6a32922 rhgb quiet

To    : kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=27f6ac23-638f-439a-8a97-2baaf6a32922 linux single

Change at the end of the line that say rhgb quiet to linux single

hit 'Enter' key after finish enter the 'linux single' at the end of kernel line, as show on GRUB screen above.

 

6.  Hit the 'b' key to boot the selected kernel and start the boot process to Linux single user mode.

boot the selected kernel and start the boot process to Linux single user mode

 

7.  After you hit the 'b' key, the Fedora 10 should reboot and then enter the single user mode and should give you root shell terminal without prompt any password field or ask for password.  The example below show the single user terminal screen.

enter the single user mode and should give you root shell terminal without prompt any password field or ask for password.  The example below show the single user terminal screen.

Remounting root filesystem in read-write mode :

Mounting local filesystems :

Enabling local filesystem quotas :

Enabling /etc/fstab swaps :

[root@fedora /]#

 

Change root password

 

   Issue passwd command to change root user password on Fedora 10 after we finish the procedure to enter the Linux single mode as show on step by step example above.

change password, change root password fedora 10

[root@fedora /]# passwd                           <-- Start type in 'passwd' command and hit Enter key

Changing password for user root.

New UNIX password:

BAD PASSWORD: it is too simplistic/systematic

Retype new UNIX password:

passwd: all authentication tokens updated successfully.

[root@fedora /]#

 

Then reboot the system and start using the new root password for your Fedora 10 system

[root@fedora /]# reboot                           <-- Type in 'reboot' command and hit Enter key to start reboot Fedora system

 

Note:   To verify your new root password please login as normal user and execute the 'su -' command on the shell terminal, then enter the new Fedora 10 password when ask.

 

Trouble shoot:

 

   If message say that 'passwd: Authentication token lock busy' display when you execute passwd command to change root password, execute command below to remount the system:

[root@fedora /]# mount -o remount, rw /                           <-- Then hit the Enter key

Execute the password command again:

[root@fedora /]# passwd 

Then reboot the system

[root@fedora /]# reboot

 

Keywords: fedora 10 root password, reset root password fedora 10, change root password fedora 10, change root password, reset root password, root password 

 

9 comments

6
Oct

reset the root password

i had change the root password usering the above command..

28
Nov

comment

very helpful slides frnd thanx.

2
Dec

Holding shift key at the

Holding shift key at the splash screen does not take me to the GRUB menu! Any suggestions? I really need to change the root password!

13
Dec

Hi,Your post is really too

Hi,

Your post is really too cool. It will help me a lot in my job. This blog is awesome and full of important articles. I love visiting it and I am glad to be a visitor here...

19
Dec

Many Thanks

Hey very helpful thanks

26
Sep

very helpful

yah it is really very help ful for me and 100% worked for me :)

28
Feb

Great Thank you

Great, thanks a lot.

12
May

Thank you so much

I did reset my password. Very useful post.. Thanks a lot

14
Sep

Thanks for providing me whole

Thanks for providing me whole procedure for reset password because i required it due to reset my password.

Regards,

aaaaaaaaaaa