|
From: | Daniel Maher |
Subject: | Re: issuing commands via shell to daemonised instance ? |
Date: | Wed, 22 Sep 2010 12:43:11 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9pre) Gecko/20100217 Lightning/1.0pre Shredder/3.0.3pre |
On 09/22/2010 12:13 PM, Martin Pala wrote:
3.) if you use PAM (as you probably do with LDAP authentication), you need to add one "allow user:password" to monit configuration file. The monit CLI reads the configuration file and gets credentials which are used to connect to daemon from it (the daemon and CLI share the same configuration). The configuration file is protected by 0600 mode so only owner can read it (monit enforces the mode to protect the passwords and if it doesn't match, it refuses to start).
Adding a "allow user:password" to the config is exactly what i did; however, it violates the policy of managing all authentication challenges via LDAP (even if it is highly local). It does appear to be the only solution though.
Thanks for the quick reply in any case ! -- Daniel Maher <dma PLUS monit AT witbe DOT net> "The Internet is completely over." -- Prince
[Prev in Thread] | Current Thread | [Next in Thread] |