|
From: | Nestor Urquiza |
Subject: | Re: stop a service as a non root user |
Date: | Tue, 2 Jul 2013 07:02:49 -0400 |
Hi Martin, That still does not address the user story. If I need to use sudo I must provide a password so I won't be able to 'manage the service the way I would do without monit' which is using the non root user without password.
Let me give you a test case so you better understand: 1. Without monit looking after tomcat in a remote server: Use ssh to stop tomcat remotely. This is easy having the public key stored in remote server. No password will be asked. You can control 10 servers with just one command.
2. With monit: Use ssh to stop tomcat. Monit will restart it automatically. If sudo is used a password will need to be provided. It would look like a feature is needed: to instruct monit not to monitor if the command is the stop command is used manually. There is such feature to stop sending alert. Makes sense?
Best regards, - Nestor - Nestor
|
[Prev in Thread] | Current Thread | [Next in Thread] |