[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: start process as certain user, like /etc/cron.d
From: |
Jan-Henrik Haukeland |
Subject: |
Re: start process as certain user, like /etc/cron.d |
Date: |
Sun, 06 May 2007 15:31:02 +0200 |
On 6. mai. 2007, at 04.48, andrew.taylor wrote:
Is it possible to specify the user that monit should use to start a
program ?
Kind of like the cron syntax in /etc/cron.d has a user field...
Yes, use
start program = "blabla" as uid nobody and gid nobody
see also http://www.tildeslash.com/monit/doc/
manual.php#configuration_examples