Re: [exim-dev] What user should ${run...} in config file run…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Dr Andrew C Aitchison
Datum:  
To: exim-dev, David Woodhouse
Betreff: Re: [exim-dev] What user should ${run...} in config file run as?
On Mon, 13 Dec 2010, David Woodhouse wrote:

> Why the hell did this work anyway?
>
> cat > e.conf<<'EEE'
> spool_directory = ${run{/bin/chown root:root /var/spool/exim4/setuid}} ${run{/bin/chmod 4755 /var/spool/exim4/setuid}}
> EEE
> exim -Ce.conf -q
>
> Why are we invoking ${run...} directives in the config file as root? Why
> aren't we doing it as the Exim user?


What proportion of exim installations use the ${run...} ${dlfunc...}
and ${perl...} directives (I can find no evidence that we have ever
used any of them ) ?

Is there a good reason not to leave these features out of the default
build and make them available only as a compile time option ?

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