<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Re: [Nagios-users] check_dhcp</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>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.<BR>
<BR>
<BR>
<BR>
--<BR>
Marc<BR>
<BR>
Sent from a very tiny wireless device with a very tiny unlit keyboard.<BR>
<BR>
-----Original Message-----<BR>
From: Kjetil Kvig <kjetil@catchcom.com><BR>
To: Nagios-list (E-post) <nagios-users@lists.sourceforge.net><BR>
Sent: Thu Oct 31 07:02:03 2002<BR>
Subject: [Nagios-users] check_dhcp<BR>
<BR>
How do you run a plugin as a different user?<BR>
It is required to run the check_dhcp plugin as root, but how do you configure the service/checkcommand for this?<BR>
<BR>
<BR>
Regards<BR>
Kjetil Kvig<BR>
<BR>
<BR>
-------------------------------------------------------<BR>
This sf.net email is sponsored by: Influence the future<BR>
of Java(TM) technology. Join the Java Community<BR>
Process(SM) (JCP(SM)) program now.<BR>
<A HREF="http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en">http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en</A><BR>
_______________________________________________<BR>
Nagios-users mailing list<BR>
Nagios-users@lists.sourceforge.net<BR>
<A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>
</FONT>
</P>

</BODY>
</HTML>