check_dhcp

Subhendu Ghosh sghosh at sghosh.org
Thu Oct 31 15:58:51 CET 2002


Yes, the plugin needs to be suid root as it needs access to port 68 for 
dhcp.


On Thu, 31 Oct 2002, Marc Powell wrote:

> Not having an installation to look at right now, I wouldn't think
> check_dhcp would need to be run as root, however if it does the idea is
> not to change the user nagios runs the plugin as but rather make the
> plugin suid root. For most unices you would chown root check_dhcp then
> chmod u+s check_dhcp. Consult the appropriate man pages for more
> information.
> 
> 
> 
> --
> Marc
> 
> Sent from a very tiny wireless device with a very tiny unlit keyboard.
> 
> -----Original Message-----
> From: Kjetil Kvig <kjetil at catchcom.com>
> To: Nagios-list (E-post) <nagios-users at lists.sourceforge.net>
> Sent: Thu Oct 31 07:02:03 2002
> Subject: [Nagios-users] check_dhcp
> 
> How do you run a plugin as a different user? It is required to run the
> check_dhcp plugin as root, but how do you configure the
> service/checkcommand for this?
> 
> 
> Regards
> Kjetil Kvig
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future 
> of Java(TM) technology. Join the Java Community 
> Process(SM) (JCP(SM)) program now. 
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
> _______________________________________________
> 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: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en




More information about the Users mailing list