Re: [Exim] PAM for SMTP auth

Top Page
Delete this message
Reply to this message
Author: Christof Meerwald
Date:  
To: adrian
CC: exim-users
Subject: Re: [Exim] PAM for SMTP auth
On Fri, 04 Feb 2000 11:29:19 -0500, Adrian Daminato wrote:
[...]
>auth    required        /lib/security/pam_permit.so
>auth    required        /lib/security/pam_warn.so
>auth    required        /lib/security/pam_pwdb.so shadow
>account required        /lib/security/pam_pwdb.so

[...]
>Feb 4 11:27:06 age PAM-warn[20121]: service: exim [on terminal:
><unknown>]
>Feb 4 11:27:06 age PAM-warn[20121]: user: (uid=8) -> linuxcd [remote:
>?nobody@?nowhere]
>Feb 4 11:27:06 age pwdb_chkpwd[20125]: password not found
>
>I'm not sure, but I think I'm missing something. Do I need to have the
>SMTP auth use the user of the localuser attempting to authenticate? Or
>is my PAM setup incorrect?


Most likely pam_pwdb needs to have root privileges (meaning exim must run as
uid root) to get access to your shadow password file (at least the pam_unix
module supplied with Linux-PAM-0.69 doesn't work with shadow passwords if it
doesn't have root privileges)


bye, Christof

--
http://lightning.prohosting.com/~cmeerw/

Don't hate yourself in the morning... sleep until noon!