[exim-dev] What user should ${run...} in config file run as?
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Diese Nachricht ist Teil des folgenden Threads:
Der komplette Thread sortiert nach Datum
Ted Cooper am
2010-12-13 02:39
Autor:
David Woodhouse
Datum:
2010-12-13 00:34
UTC
To:
exim-dev
Neue Treads:
[exim-dev] Security of ${dlfunc
Betreff:
[exim-dev] What user should ${run...} in config file run as?
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?
--
dwmw2