nagios.cmd: who else needs to CHMOD after Restarts? (Mike McLure)

Patrick Amirian pamirian at calculus.ca
Mon Nov 25 19:11:21 CET 2002



Me but that's because my apache and nagios do not have the same
user/group.

Next time I'll compile nagios, I'll compile it with user/group nobody or
whatever that apaches runs as.

-----Message d'origine-----
De : nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] De la part de Daris
Drake
Envoyé : 25 novembre, 2002 13:10
À : 'nagios-users at lists.sourceforge.net'
Objet : Re: [Nagios-users] nagios.cmd: who else needs to CHMOD after
Restarts? (Mike McLure)

Mike: 

The problem you see is that you cannot issue commands to nagios from the
web
interface (you get "there was an error processing your command. Go back
from
whence you came."). I am guessing but any writes to cgi.cmd from cmd.cgi
are
failing permissions. Is this an issue with the user/group I compiled
with?
Does the nagiosadmin user have to be a member of the nagios group
locally?
We are using "nagios" as the compiled user and "nagiosadmin" as the cgi
user. 

I realize we opened that file up to everyone but it was the quick fix
while
we tried to figure out what the issue really was/is. 

- Daris

> What are the symptoms of this issue you are talking about?
>
> Why would you want any user on the system to be able to write to that
pipe
and
> therefore issue commands?  That's what the permissions you are setting
there allow.
>
> - Mike




-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en




More information about the Users mailing list