Hi,

you can use sudo to allow that specific CLI command to non-root user.

Regards,
Martin


On Jul 2, 2013, at 12:46 AM, Nestor Urquiza <[email protected]> wrote:

> Hi folks,
> 
> We run monit as root which is specially important for Apache service.
> 
> Monit controls tomcat servers which run under a different user.
> 
> As a non root user I want to to be able to run 'monit tomcat stop' so that I 
> can manage the service the way I would do without monit.
> 
> We can issue "service tomcat stop" but of course monit restarts it again.
> 
> Thanks!
> 
> - Nestor
> 
> 
> 
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general


--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to