I have done so but when I become the user I wish to use to invoke
monit I get an error indicating:
'monit: The control file '/etc/monitrc' must be owned by you.'
It /etc/monitrc is owned by root, are all non-root users prohibited
from invoking any monit command from the command-line?
-mp
----- Original Message -----
From: "Martin Pala" <address@hidden>
To: "Mike Place" <address@hidden>
Cc: address@hidden
Sent: Saturday, June 13, 2009 1:48:47 AM GMT -07:00 US/Canada Mountain
Subject: Re: httpd authentication question
No,
but if you need localhost access for monit CLI commands (such as
status, start, stop, etc.), then you can add "allow <user>:<password>"
to monitrc and monit CLI will read and use the credentials
automatically when talking to monit httpd.
Martin
On Jun 12, 2009, at 11:36 PM, Mike Place wrote:
Hello,
Is it possible to configure monit's HTTPD in such a way as to allow
localhost unauthenticated access while still forcing other host to
authenticate via PAM?
-mp