check_dhcp

Marc Powell mpowell at ena.com
Thu Oct 31 14:23:57 CET 2002


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021031/c746218a/attachment.html>


More information about the Users mailing list