Andreas Metzler <ametz...@bebt.de> writes: > You will need to limit the processes that s-s-d in considering for > killing, otherwise the amasvis user could kill arbitrary processes by > listing them in the pid file. For exim I am now passing --exec > /path/to/daemon as argument to s-s-d > > https://salsa.debian.org/exim-team/exim4/commit/7d69adc64e5006ce1d033acbd51681dc8aa3640d > > Alternatively (or additionally) setting --user should also work.
OK, thanks for this. I hadn't realized you could resolve this by passing --exec and/or --user. Hmmm. Presumably --exec may not be so useful for a Perl program - I am guessing I would need to point to the Perl interpreter, so probably should use --user too. -- Brian May <b...@debian.org>