NRPE unable to read output

Andreas Ericsson ae at op5.se
Tue Nov 1 22:01:59 CET 2005


Todd Barbera wrote:
> My bad. Yes, I meant the suid bit. When I have a shell script that calls
> root only executables, such as "raidctl" on Solaris, I need to set the suid
> bit in order to allow the nagios user to run the script. I'm not sure you
> say it won't work on scripts, it seems to work fine with mine. Perhaps we
> are referring to two different things.
> 

Can't speak for Solaris, but given how the invocation goes it really 
should be impossible without some kernel trickery or a suid /bin/sh 
(which is actually not necessarily as unsafe as it sounds).

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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