Re: [Exim] Question about shadow passwords...

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dr Andrew C Aitchison
Date:  
À: Spaced
CC: exim-users
Sujet: Re: [Exim] Question about shadow passwords...
On Fri, 14 Feb 2003, Spaced wrote:

> Hello
>
> I've got SMTP authentication setup that'll read /etc/passwd for username and
> passwords.. as per one of the examples posted on the site (I want to say
> Q034, but don't quote me on that).. same config has been around for some
> time - it's worked wonderfully for quite some time.
>
> Anyhow, I noticed that recently certain accounts havn't been able to send..
> when I had a closer look, I determined it was because these accounts didn't
> hold the password in /etc/passwd, but in /etc/shadow.
>
> Anyone know how I could get exim to read from both /etc/passwd and
> /etc/shadow?
>
> The SMTP auth. part of my config is included below.


At the point where the smtp connection is authenticated exim has dropped
privileges, and does (should) not have permission to read /etc/shadow.
pam_exim
    http://www.e-admin.de/pam_exim/
is one way of getting around this security feature of exim.


--
Dr. Andrew C. Aitchison        Computer Officer, DPMMS, Cambridge
A.C.Aitchison@???    http://www.dpmms.cam.ac.uk/~werdna