AW: AW: nagios stop script not killing all processes

E.Altherr elvis at webspace4you.ch
Thu Jul 1 17:44:34 CEST 2004


ok, you win :-)

it's right, that 777 is a security risk (but i tried your solution under RH 9.0 and it doesn't work (on which reasons whatelse) 


best regards

Elvis




-----Ursprüngliche Nachricht-----
Von: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von C.
Bensend
Gesendet: Donnerstag, 1. Juli 2004 16:18
An: nagios-users at lists.sourceforge.net
Betreff: Re: AW: [Nagios-users] nagios stop script not killing all
processes



> You need to chmod to 777 the nagios.cmd file (usually in the
> /var/nagios/var/rw or in the path where your nagios is installed), after
> restarted
> the nagios daemon, then you can send commands (like Service Aknowledges)
> via the GUI

As a general rule, chmod'ing ANYTHING 0777 is A Bad Idea(tm).

This might fix the immediate problem, but could very well introduce others.
There are security risks (now, ANYONE with access to the machine can issue
commands to Nagios), stability risks (Whoops, I didn't mean to write to
THAT file!), etc.

nagios.cmd needs to be writable by the nagios daemon and the webserver,
no more, no less.

Benny


-- 
"You were doing well until everyone died."
                                                    -- "God", Futurama


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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