General discussion

Locked

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.

#%PAM-1.0
auth required pam_securetty.so
auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session include system-auth
session required pam_loginuid.so
session optional pam_console.so
# pam_selinux.so open should be the last session rule
session required pam_selinux.so open

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Linux Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums