why NRPE can't run whit root user ?
Bill Corcoran
wcorcor at siue.edu
Mon Mar 22 16:49:17 CET 2004
if you can only run the plugin with root priv, consider running it
setuid root. i'm not sure if nagios has some sort of protection against
this, but it is probably what i would try. running apache suexec may
give you some problems too, but again, worth a shot.
as root, do a chown root on the file, then chmod 4755 or 6755. consult
the man pages on chmod for more info. then, when anyone executes the
plugin, the plugin will run as root.
-bill
LEBRETON Philippe wrote:
> hello,
>
> I want to run NRPE with the root user but it is impossible.
> I want to run NRPE with the root user because, i write some somme plugin
> that can only work with this user.
> My question is : how i can exec this plugin with a root rights?
>
> thanks
>
> Philippe LEBRETON
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> 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 is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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