All users can execute service commands via cgi

Andreas Ericsson ae at op5.se
Tue Jan 4 19:26:27 CET 2005


Malcolms wrote:
> ----- Original Message ----- 
> From: "Andreas Ericsson" <ae at op5.se>
> To: "Malcolms" <nagios at lds.dyndns.org>
> Cc: <nagios-users at lists.sourceforge.net>
> Sent: Tuesday, January 04, 2005 12:13 PM
> 
> 
> 
>>Malcolms wrote:
>>
>>>Hi,
>>>
>>>I have Nagios version 2.0b1.  I upgraded my nagios 1.1.
>>>
>>>I've now setup some web users to access my nagios setup and they can all
>>>execute service commands via the web interface.  How do I make it so
> 
> that
> 
>>>only I can do this and not all my users?
>>>
>>>In my cgi.cfg file I have this line set
>>>authorized_for_system_commands=malcolms
>>>
>>>Should this not restrict service commands via the web interface to only
> 
> user
> 
>>>malcolms?
>>>
>>
>>No, but it ensures that malcolms alone can issue restart commands and
>>global 'never notify' and such.
>>
> 
> 
> How do I stop them from been able to do anything?  I just want them to have
> read only access to the page so they can see what's going on.
> 

I'm not sure. Possibly by allowing guest logins and adding a htpassword 
for whatever you set your guest thingie to in cgi.cfg.

> Thanks
> Malcolm
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list