Re: [exim] unable to set gid=518 or uid=518 (euid=8)...

Top Page
Delete this message
Reply to this message
Author: Ian FREISLICH
Date:  
To: exim-users
Subject: Re: [exim] unable to set gid=518 or uid=518 (euid=8)...
Philip Hazel wrote:
> On Mon, 17 Jan 2005, Ian FREISLICH wrote:
> > "When this option is used by a caller other than root or the Exim
> > user, and the list is different from the compiled-in list, Exim
> > gives up its root privilege immediately, and runs with the real and
> > effective uid and gid set to those of the caller."
> >
> > Based on what the euid/uid are, the user that starts the delivery
> > process is 'mail' (uid=8) and in Local/Makefile I set EXIM_USER=ref:mail
> > so I would have expected it to work based on the above description.
> > Is something else at play or is my interpretation faulty?


<snip>

> . this time, however, the caller of exim is NOT root (it is the "exim"
> uid) so the process gives up root privilege, and runs as "exim"


Is this not a documentation bug then? According to the docs for
'-C': "a caller other than root or the Exim user, and the list is
different ... gives up its root privilege immediately". What you
describe is just "a caller other than root...".

Ian

--
Ian Freislich