LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices



Reply
 
Search this Thread
Old 01-11-2009, 10:14 PM   #1
Atwin
Member
 
Registered: Apr 2004
Distribution: FreeBSD 8.0 & Fedora 12
Posts: 50

Rep: Reputation: 15
Root Password on Fedora 10


Hello,

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,

Atwin
 
Old 01-11-2009, 10:24 PM   #2
greenguy9595
LQ Newbie
 
Registered: Jan 2009
Location: Atlanta, GA
Distribution: Ubuntu 8.10, Pendrivelinux08
Posts: 8

Rep: Reputation: 0
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
 
Old 01-11-2009, 11:42 PM   #3
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
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.
 
Old 01-12-2009, 12:49 AM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,463

Rep: Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800
alan_ri you do know many people are going to try that fork bomb in your sig ???
 
Old 01-12-2009, 08:57 AM   #5
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by John VV View Post
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...
 
Old 01-12-2009, 10:23 AM   #6
rizwanrafique
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, openSUSE, CentOS
Posts: 147

Rep: Reputation: 19
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:

Code:
> sudo su
> passwd
or

Code:
>sudo passwd
Anyone, correct me if I'm wrong. Don't have fedora box right now to prove my point :-)
 
Old 01-12-2009, 03:29 PM   #7
John VV
Guru
 
Registered: Aug 2005
Posts: 13,463

Rep: Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800Reputation: 1800
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
 
Old 01-12-2009, 06:29 PM   #8
Atwin
Member
 
Registered: Apr 2004
Distribution: FreeBSD 8.0 & Fedora 12
Posts: 50

Original Poster
Rep: Reputation: 15
Smile

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


Reply

Tags
fedora, password, root


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how we can recover root password in fedora linux kamalkirat1 Linux - Software 3 11-21-2008 09:54 PM
Forgotten Password of root in Fedora 8, Cant login, need it badly :( confulity Linux - General 3 09-19-2008 12:18 AM
root password gone + install fedora core 3 Flowdo Linux - Newbie 5 11-23-2005 11:10 AM
Root user/password recovery/Fedora killercrazyeyes Linux - Software 6 10-19-2005 03:00 AM
Fedora install without asking for a password for root bbowlsbey Fedora - Installation 1 07-21-2004 02:01 AM


All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration