LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-21-2006, 04:33 PM   #1
ProTeX2003
LQ Newbie
 
Registered: Oct 2003
Location: Canada
Posts: 3

Rep: Reputation: 0
SUDO: pam_authenticate: Module is Unknown


Hey guys. Any time I run SU or SUDO from any user (excluding root) I get this message: pam_authenticate: Module is Unknown.

Can anyone help me out? I've even tried making new users and they still get the same message.

I'm using Ubuntu 5.10.
 
Old 02-21-2006, 04:47 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Here is a partial listing from my /etc/pam.d directory. As you can see there is a file for every type of login service.

/etc/pam.d/rpasswd
/etc/pam.d/samba
/etc/pam.d/shadow
/etc/pam.d/squid
/etc/pam.d/sshd
/etc/pam.d/su
/etc/pam.d/sudo
/etc/pam.d/useradd
/etc/pam.d/vlock
/etc/pam.d/vsftpd

Here is the content of my /etc/pam.d/su file.

$ cat /etc/pam.d/su
#%PAM-1.0
auth sufficient pam_rootok.so
auth required pam_unix2.so nullok #set_secrpc
account required pam_unix2.so
password required pam_pwcheck.so nullok
password required pam_unix2.so nullok use_first_pass use_authtok
#session required pam_homecheck.so
session required pam_unix2.so debug # none or trace
$

More information is available at /usr/share/doc/packages/pam/html.

Last edited by stress_junkie; 02-21-2006 at 04:51 PM.
 
Old 02-21-2006, 04:51 PM   #3
ProTeX2003
LQ Newbie
 
Registered: Oct 2003
Location: Canada
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by stress_junkie
Here is a partial listing from my /etc/pam.d directory. As you can see there is a file for every type of login service.

/etc/pam.d/rpasswd
/etc/pam.d/samba
/etc/pam.d/shadow
/etc/pam.d/squid
/etc/pam.d/sshd
/etc/pam.d/su
/etc/pam.d/sudo
/etc/pam.d/useradd
/etc/pam.d/vlock
/etc/pam.d/vsftpd

Here is the content of my /etc/pam.d/su file.

$ cat /etc/pam.d/su
#%PAM-1.0
auth sufficient pam_rootok.so
auth required pam_unix2.so nullok #set_secrpc
account required pam_unix2.so
password required pam_pwcheck.so nullok
password required pam_unix2.so nullok use_first_pass use_authtok
#session required pam_homecheck.so
session required pam_unix2.so debug # none or trace
$
I logged into root and changed the file to match yours, but still, no change.
 
Old 02-21-2006, 05:16 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
Maybe you don't have all of the modules installed. The file that I copied here was just a configuration file. You still need the module. Check the documentation on your system disk.
 
  


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
passwd: Module is unknown DMB Linux - General 20 03-28-2005 09:09 PM
modprobe -> Unknown symbol in module sara_W Linux - Wireless Networking 1 09-13-2004 12:32 AM
unknown symbol sys_mknod in module? dklaming Linux - General 0 05-07-2004 11:55 AM
no dialup-setserial not recognised command-module unknown.etc.s,s,s,s mgbgt Linux - Newbie 0 07-06-2003 10:04 AM
Unknown kernel module??? help RecoilUK Linux - Software 1 07-21-2001 01:06 AM


All times are GMT -5. The time now is 05:19 PM.

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