Cecil Westerhof <ce...@decebal.nl> writes:

> The update is done by sa-update. I use only a script around it, but
> the script calls sa-update.
>
> From now on this script is not run as root anymore, but as
> debian-spamd.
>
> I also tried to do this with the service, but that gave a lot of
> errors I have to investigate. So for the moment the service is still
> run as root.

I found out what I had to do. I added to the command-line:
    --username=debian-spamd

Now the child processes are run as user debian-spamd, but the main is
still run as root. Is that correct?
Because the man-page says:
    Run as the named user.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Reply via email to