Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 06-22-2010, 08:33 PM   #1
LQ Newbie
Registered: Jun 2010
Posts: 4

Rep: Reputation: 0
Unhappy Fedora 12 cannot log in as root, cannot su nor log into bash

i'm very new to linux in fact this is my first stab at it with Fedora 12. i have an asus p5kpl-am se g31 socket 775 mobo with an intel pentium e5300 2.6 ghz cpu.

i think my problem might be with authentication or permissions possibly in pam.d, but i can not login as root, canot su, nor sudoer. i can't even use bash because i can't enter my password because when i enter characters the cursor just blink but doesn't even move.

i've tried re-installing. i've checked the configuration of the keyboard, but i'm limited without root access to some files.

any suggestions?
Old 06-22-2010, 09:00 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Posts: 16,255

Rep: Reputation: Disabled
a few things
Fedora is not a good choice as a "first" linux install. It can be good BUT and it is a big but fedora is a R&D distro .Not everything will work all the time correctly ( it is better than it was back in fedora 4 to 10 ).But updates can and will break some things,from time to time.

If you DO want to learn how to fix things , hack source code in order to build and install some programs ( not everything will build in fedoras " bleeding / cutting edge" software .

it is good IF YOU WANT TO LEARN by doing/ fixing things .

BAD if you are looking for a " just should work" distro. For that look at Ubuntu,Debain .Mint and a few others.

ROOT login to the GUI Gnome and KDE ( kde sort of works) was DISABLED back in fedora 10 for SECURITY and user safety reasons .
There is a hack - BUT IT IS NOT recommended

" sudo" -- this IS NOT configured by DEFAULT for security reasons ( there is a security hole in it - a very big one)

"su " and " su - "
Fedora uses the " su - "
you might want to do some research on the two
most things in fedora that need root access will not work using "su"

the pam.d ? might? be a SELinux permissions ( it is a known bug - it happens from time to time )
is there a gold/yellow star on the top toolbar in gnome ?
if so launch SELinuxTroubleShooter and fallow the instructions.

--- edit --
you might also want to read the fedora documentation
and the fedora 12 user guide

Last edited by John VV; 06-22-2010 at 09:09 PM.
Old 06-22-2010, 09:44 PM   #3
LQ Newbie
Registered: Jun 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Smile thanks for the 411 John VV

I chose Fedora because it is related to RHEL and that was my first encounter with linux. Had no idea about the pitfalls of the distro. I knew it wouldn't be easy but I didn't think it would be impossible in some cases to make it operable.

You've given me some points of focus and I thank you for that.

There is no gold/yellow star on my gnome.

I have the user guide downloaded and will check it out along with documentation.

I'm not giving up easily. Thanks.
Old 06-22-2010, 09:50 PM   #4
LQ Newbie
Registered: Jun 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Found the Selinux troubleshooter, the browser reported "no alerts to view".
Old 06-22-2010, 10:19 PM   #5
John VV
LQ Muse
Registered: Aug 2005
Posts: 16,255

Rep: Reputation: Disabled
it is good if you want to learn .

most of the time there will be no problems BUT an example ( this may happen again)
a few versions back fedora went with the BETA version of xorg 1.7 .
There were NO 3d drivers for that version of xorg for about 4 months .So NOBODY had 3d support
it is one of the things that can happen .
Fedora's philosophy is" to push it until it breaks - fix it ,then push it some more" .

seeing as it is not a SE issue is there a entry in the error / system logs ?
somplace in /var/log
errors.log , dmesg.log , messages.log ,...

it should be listed .

just search each for "pam.d"
Old 06-22-2010, 11:17 PM   #6
LQ Newbie
Registered: Jun 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Looked @ dmesg.log

didn't have error.log and access denied for messages.log.

Saw a couple of interesting things to check out:

APCI Warning: Incorrect checksum in table [OEMB] - 5E, sould be 5D (20090903/tbutils-314)

pci 0000:03:00.0: BAR 6: address space collision on device [0xfebc0000-0xfebdffff]

I doubt that either of the above lines impact my situation, but they kind of jumped out at me.
Old 06-22-2010, 11:24 PM   #7
John VV
LQ Muse
Registered: Aug 2005
Posts: 16,255

Rep: Reputation: Disabled
some of the logs require root to read
in the terminal type
su -
( your root password when asked)
then open the log files

some like xorg.0.log have an explanation at the top
Old 06-24-2010, 12:48 PM   #8
Senior Member
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,895

Rep: Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093Reputation: 1093
To examine the log files, use the menu entry System tools - System log; that will ask for the root password.

Contrary to what John says, su will work in Fedora.

Any search of Ubuntu forums and reviews will show that it's no more reliable than Fedora: no distro that gives you a new package is likely to be without the occasional problem. If you really want only tried and tested software, then you need CentOS; but that leaves many people complaining that the software isn't up-to-date enough! Debian Stable is similar, but the installer is rather confusing and the community seemed less friendly. Incidentally, have you joined


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
(Bash) Redirect all output from script to all.log and copy of errors to err.log hmsdefender Programming 5 03-05-2010 01:52 PM
Can't log in as root in Fedora 11 pawer126 Fedora 11 09-16-2009 08:41 PM
Log-in name for root? Fedora 10 gururaj.jois Linux - Newbie 5 06-25-2009 01:52 AM
Bash script for server log (namely var/log/messages) tenaciousbob Programming 17 05-24-2007 10:43 AM
cannot log in as root in bash .? Alt-F4witty Linux - Laptop and Netbook 4 01-05-2004 11:59 AM

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

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