General discussion


Linux - root logs on, user can't.

By CharlieSpencer ·
Fedora Core 5

I was playing Enigma when I accidentally hit the 'a' key and it killed my marble. (Don't worry if you don't play Enigma; it's only slightly relevant.) In order to see if there were any more keys I should avoid, I began striking them in alphabetical order. Somewhere around 'r' I was logged out and dumped back to the GUI login.

I can log on as root at both GUI and command line. If I try to log on as my user account from the GUI I get an "Authentication failed" window. Clicking OK takes me back to the username prompt. If I try to log on as my user account from the command line I get the error "Error in service module" and the next line is a Username prompt. I've reset the user account password but that has had no effect.

First, anybody know why my walking the alphabet would have kicked me out? Did I hit some magic sequence of keystrokes? Second, how do I undo what I've done? Yes, I know I can create a new user and copy the files, but that's a workaround, not a solution.

It was suggested at another site that I post the /etc/pam.d/login file, so here it is if that's any help.

auth required
auth include system-auth
account required
account include system-auth
password include system-auth
# close should be the first session rule
session required close
session include system-auth
session required
session optional
# open should be the last session rule
session required open

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums