LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-08-2005, 04:56 AM   #1
PsypherPunk
Member
 
Registered: Jul 2005
Location: Leeds, UK
Distribution: SuSE 10.0
Posts: 108

Rep: Reputation: 15
Login/PAM errors


i am no longer able to login via KDM (or XDM, or...). After entering the correct login details i receive an error and a message telling me to check the logs. Therein:

Code:
PAM _pam_load_conf_file: unable to open /etc/pam.d/common-account
PAM _pam_load_conf_file: unable to open /etc/pam.d/common-password
PAM _pam_load_conf_file: unable to open /etc/pam.d/common-session
...which is correct as the above files do not exist. Should they? i've installed the latest version of PAM and associated packages via RPM.
 
Old 09-08-2005, 10:12 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
Give this a try:
Code:
grep -Hr common- /etc/pam.d/*
It should show if the other pam files reference it anywhere.
 
Old 09-09-2005, 02:39 AM   #3
PsypherPunk
Member
 
Registered: Jul 2005
Location: Leeds, UK
Distribution: SuSE 10.0
Posts: 108

Original Poster
Rep: Reputation: 15
This is the output from that:

Code:
/etc/pam.d/gnomesu-pam:auth     include        common-auth
/etc/pam.d/gnomesu-pam:account  include        common-account
/etc/pam.d/gnomesu-pam:password include        common-password
/etc/pam.d/gnomesu-pam:session  include        common-session
/etc/pam.d/xdm:auth     include        common-auth
/etc/pam.d/xdm:account  include        common-account
/etc/pam.d/xdm:password include        common-password
/etc/pam.d/xdm:session  include        common-session
Errr...not too sure what that means

i found this this reference in a SuSE Admin. Guide which seems to detail the contents of the file. Might give that a whirl and see what happens.

Last edited by PsypherPunk; 09-09-2005 at 04:03 AM.
 
Old 09-09-2005, 10:53 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
This means that it's trying to "include" the file /etc/pam.d/common-* at those points. I would adjust those config files or create the common-* files. I have no common-* files on my gentoo box.
/etc/pam.d/xdm on my box contains:
Code:
#%PAM-1.0
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_console.so
/etc/pam.d/system-auth contains:
Code:
#%PAM-1.0

auth       required     /lib/security/pam_env.so
auth       sufficient   /lib/security/pam_unix.so likeauth nullok
auth       required     /lib/security/pam_deny.so

account    required     /lib/security/pam_unix.so

password   required     /lib/security/pam_cracklib.so retry=3
password   sufficient   /lib/security/pam_unix.so nullok md5 shadow use_authtok
password   required     /lib/security/pam_deny.so

session    required     /lib/security/pam_limits.so
session    required     /lib/security/pam_unix.so
 
  


Reply


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
Login in a NT-Dom over PAM/Winbindd skober19 Linux - Networking 1 11-09-2005 11:55 PM
PAM update and now no login! simonsez711 Linux - Networking 0 07-21-2005 01:22 AM
vsftpd with PAM... errors in builddefs.h killahsmurf Linux - Networking 1 04-25-2005 04:28 AM
Apply login restriction via PAM elduder12345 Linux - Security 1 09-28-2003 08:26 AM
PAM and LDAP, can't login locally Staceman Linux - Networking 0 07-02-2003 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:26 PM.

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