LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-26-2008, 09:34 PM   #1
infantry_style
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
Angry I can no longer log in as myself or the root user in Fedora 10


I had googled how to log in as root user in fedora 10. I then followed a link telling me to go into the terminal and input "auth required pam_succeed_if.so user != root quiet" and then when it finished change the "auth required pam_succeed_if.so user != root quiet" to "# auth required pam_succeed_if.so user != root quiet" and log out. Now I can not log in as root user or normal user. How do I fix this?
 
Old 12-26-2008, 10:06 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I think (and I'm going on memory here) that you should:

Boot the fedora dvd or cd into rescue mode, or whatever they call it.

If using the dvd, you should get instructions on how to chroot the sysimage. Follow these.

Go to /etc/pam.d ("cd /etc/pam.d), then "cat gdm"

Hopefully you will see a line similar to the one you commented out (auth required pam_succeed_if.so user != root quiet)

If not try "grep root *" and see what the filename is that has that line in it.

Edit the relevant file and restore it to what it was (hopefully just uncommenting, but I suspect you've done something else to it as well)

Reboot.

See how you go.
 
Old 12-27-2008, 03:13 PM   #3
infantry_style
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Original Poster
Rep: Reputation: 0
i used the live cd to load fedora 10 so how what do i do?
 
Old 12-27-2008, 03:24 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Just try booting the live CD and see if it automatically mounts your Fedora partition(s)
 
  


Reply



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
Just upgraded to Fedora 10 - can no longer log in as root rbushlow Linux - Software 6 12-17-2008 06:02 PM
Unable Log-in any longer as LFS User spadeandarcher Linux From Scratch 4 10-28-2006 08:17 PM
I can no longer log in as a normal user r_squared Fedora 5 09-15-2005 04:49 PM
Can no longer log in as user dive Slackware 7 07-31-2005 11:42 AM
X only loads for root user; Hangs when other users log in (Fedora Core 3) stupidloser Linux - General 1 11-29-2004 05:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:50 AM.

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
Open Source Consulting | Domain Registration