LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-12-2006, 11:49 AM   #1
Charlie Spencer
Member
 
Registered: Nov 2003
Location: South Carolina, USA
Distribution: Fedora Core 5
Posts: 106

Rep: Reputation: 15
Root can log on, user account can't. "Error in service module"


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.

Last edited by Charlie Spencer; 09-12-2006 at 11:55 AM.
 
Old 09-12-2006, 12:12 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
looks like an error in your PAM.
try checking/posting your /etc/pam.d/login
 
Old 09-12-2006, 01:08 PM   #3
Charlie Spencer
Member
 
Registered: Nov 2003
Location: South Carolina, USA
Distribution: Fedora Core 5
Posts: 106

Original Poster
Rep: Reputation: 15
/etc/pam.d/login

I can post it. I can't check it since I don't know what it does or I'm looking for.

#%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

Last edited by Charlie Spencer; 09-13-2006 at 12:29 PM.
 
Old 09-13-2006, 01:35 PM   #4
Charlie Spencer
Member
 
Registered: Nov 2003
Location: South Carolina, USA
Distribution: Fedora Core 5
Posts: 106

Original Poster
Rep: Reputation: 15
Additional Info

Maybe the Enigma / keying information is a false lead.

Prior to this problem I had just installed Enigma. That was my second attempt to use yum to install a program. My first attempt was a 'yum update' after I finally figured out how to pass my credentials to the company proxy server. When the update finally finished, I immediately installed Enigma.

Should I have rebooted after the yum update completed? (Yes, 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?
 
  


Reply

Tags
login


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
PAM Authentication error saying " Error in service module" gocool_k Programming 3 07-19-2007 02:27 PM
New SQUID user: How to clear the "access.log" and "store.log" automatically? yuzuohong Linux - Networking 2 12-02-2006 05:37 AM
PAM Authentication error saying " Error in service module" gocool_k Linux - Software 1 12-21-2005 09:03 AM
Postgresql error FATAL: user "root" does not exist" cgetty Ubuntu 4 06-21-2005 02:11 PM


All times are GMT -5. The time now is 10:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration