monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monit "check program" as user


From: Jan-Henrik Haukeland
Subject: Re: Monit "check program" as user
Date: Wed, 14 Mar 2012 12:35:09 +0100

On Mar 14, 2012, at 3:12 AM, Leif Gustafson wrote:

> Hello,
>  Is it possible to use the new "check program" functionality as another
> user?  

It is not possible, but when you mention it now it seems like a good idea. It 
should be a low hanging fruit since we can re-use code around start/stop. I'll 
put it on our TODO list and see if we can make it part of a later release. 
Thanks for the suggestion. 

> This would be useful if the target executable could do something
> potentially dangerous if run as root and we'd want to drop privileges
> beforehand.  Obviously a wrapper might do the trick, but it would not be as
> clean as the "as uid" functionality that's part of "start program". Keep up
> the good work on this great software!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]