LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I can no longer log in as myself or the root user in Fedora 10 (https://www.linuxquestions.org/questions/linux-newbie-8/i-can-no-longer-log-in-as-myself-or-the-root-user-in-fedora-10-a-693183/)

infantry_style 12-26-2008 09:34 PM

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?

billymayday 12-26-2008 10:06 PM

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.

infantry_style 12-27-2008 03:13 PM

i used the live cd to load fedora 10 so how what do i do?

billymayday 12-27-2008 03:24 PM

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


All times are GMT -5. The time now is 04:18 AM.