Re: [Exim] Authentication with PAM

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Dave C.
Datum:  
To: Tim Dijkstra
CC: exim-users@exim.org, Christopher Curtis
Betreff: Re: [Exim] Authentication with PAM
On Tue, 6 Nov 2001, Tim Dijkstra wrote:

> Christopher Curtis wrote:
> >
> > On Tue, 6 Nov 2001, Tim Dijkstra wrote:
> >
> > > I'm trying to set up authentication. I'm basicly following C039 (after
> > > finding out that I can't use pam to look in the /etc/shadow file). This
> >
> > Why is this? I have exim authenticating against /etc/shadow --
>
> I tried authenticating against /etc/shadow, but it wouldn't work. After
> trying to debug the thing, I dug into the exim-users list archives. I
> found out that cause exim authenticates while being UID=8 the PAM's will


Actually, exim authenticates while being whatever UID you specify. Its
nore hardcoded. I run exim as root an a box that is specifically for
handing SMTP relays, that also permits no user shell access, and my pam
(of course) works fine.

> not authenticate. They will only grant that to processes that have read
> privileges on /etc/shadow.
>
> <cut your setup>
>
> > The exim configuration is already in Debian's default configuration file,
> > all I had to do was uncomment it, and the PAM setup I found somewhere out
> > in the archives (not sure if it was Exim archives or Debain though).
>
> But now I am confused.... You state the precise opposite. What version
> are you running? I use the one in the debian/stable (3.12-10). You
> probably not. If not, my guess is that exim is now using root privileges
> to authenticate... Maybe I just have to try debain/testing.
>
> Thnx Tim
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>


--