View Full Version : Newbie-Root can log on, user account can't. "Error in service module"

13th September 2006, 08:09 PM
"Long-time lurker, first-time poster."

I finally figured out how to pass my credentials to the company proxy server, so I ran a 'yum update'. When the update finally finished, I immediately used yum to install Enigma. (Don't worry if you don't play Enigma; it's only slightly relevant.)

I was playing Enigma when I accidentally hit the 'a' key and it killed my marble. 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 back to the Username prompt. I've reset the user account password but that has had no effect.

Anybody know why my walking the alphabet would have kicked me out? Did I hit some magic sequence of keystrokes? Should I have rebooted after the yum update completed? (I know that's a rather Windowsish question, but that's where all my experience lies.) Is it possible something in the update is preventing my user account from logging in? How do I undo what I've done? 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 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