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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Ian FREISLICH
Cc: exim-users
Asunto: Re: [exim] unable to set gid=518 or uid=518 (euid=8)...
On Mon, 17 Jan 2005, Ian FREISLICH wrote:

> 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...".


Depends on how your Exim is compiled. The full paragraph in the spec
reads thus:

       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. However, if ALT_CONFIG_ROOT_ONLY is
       defined in Local/Makefile, root privilege is retained for -C only if
       the caller of Exim is root. This option is not set by default.


How was your Exim compiled?

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book