LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SUDO: pam_authenticate: Module is Unknown (https://www.linuxquestions.org/questions/linux-software-2/sudo-pam_authenticate-module-is-unknown-418133/)

ProTeX2003 02-21-2006 04:33 PM

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.

stress_junkie 02-21-2006 04:47 PM

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.

ProTeX2003 02-21-2006 04:51 PM

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.

stress_junkie 02-21-2006 05:16 PM

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.


All times are GMT -5. The time now is 09:33 PM.