-   Linux - Laptop and Netbook (
-   -   Root Password on Fedora 10 (

Atwin 01-11-2009 09:14 PM

Root Password on Fedora 10

I have just installed Fedora 10 on my laptop from the LiveCD and now I want to install some software and tweak some options, but I need the root password for that!

I was not asked to enter any password during the setup! How can I fix this?

Any help is much appreciated.

With thanks,


greenguy9595 01-11-2009 09:24 PM

Root PW
you can chage your Root PW like this:

You need to boot into what's called "single-user mode."

1. Using the instructions in the runlevel question (under the "While You Are Booting the Computer" section), boot into runlevel 1.

2. Set the new root password with by typing: passwd

And then enter your new root password when asked.

3. Reboot your machine, and you will now be able to log in as root with the new password that you entered.

--- Green

alan_ri 01-11-2009 10:42 PM

And if you need to enter password to be able to enter in to the single user mode,press any key when you see "booting Fedora",then when you see "kernel 2.x.x.x." press 'e' and apend single init=/bin/bash to that kernel line,press 'enter' then 'b'.Then you will be root.Change password as already suggested.

John VV 01-11-2009 11:49 PM

alan_ri you do know many people are going to try that fork bomb in your sig ???

alan_ri 01-12-2009 07:57 AM


Originally Posted by John VV (Post 3405251)
alan_ri you do know many people are going to try that fork bomb in your sig ???

John VV,the reason why I put it there is to try to prevent people doing so if they will ever be instructed to do so.I already got some messages in my PM inbox from some members asking me what is it,but I will remove it from my sig because it's maybe better that people don't know about it.Thanks for your feedback. Btw,I've visited your site,it's beautiful.I'm also interested in all about space,it's part of my profession too,so I've been learning a lot about it...

rizwanrafique 01-12-2009 09:23 AM

Not sure if fedora adds first user in sudo group and if it asks for user's password upon invocation (debian/ubuntu way) or root's (suse way). Assumging it works with debian/ubuntu way root can be logged on and password can be changed using:


> sudo su
> passwd



>sudo passwd
Anyone, correct me if I'm wrong. Don't have fedora box right now to prove my point :-)

John VV 01-12-2009 02:29 PM

sudo is not setup during install because of the possible security hole it makes .
use the " su - " or " su "
su - = root with root $PATH
su = root with USER $PATH

Atwin 01-12-2009 05:29 PM

Thanks for all the help guys. It worked just fine. :) Yayy.

All times are GMT -5. The time now is 02:55 PM.