permissions for check_dhcp
Christian Schneemann
cschneemann at suse.de
Thu Jul 9 22:24:48 CEST 2009
On Thursday 09 July 2009 22:02:43 Natalie Aloi wrote:
> Hello again
>
> I am modifying my new 3.0.6 configuration so that I can have all the stuff
> I had before but when I do my configuration verification I am getting an
> error on check_dhcp - see it has this information below: Can I chown this
> to nagios:nagios and then chmod 550?
>
> -r-sr-x--- 1 root nagios 77549 2009-07-09 10:13 check_dhcp
> -r-sr-x--- 1 root nagios 82964 2009-07-09 10:13 check_icmp
check_dhcp needs rood permission to connect to the interface, therefore it is
owned by root and the suid bit is set, so that it is executed with root's
privilege.
If you change the permission to nagios:nagios check_dhcp will not work
anymore. You could call this check with sudo instead.
Christian
>
>
>
> Network Operations Center Manager
> Experis Data Center LLC
> 8209 Valley Pike
> PO Box 535
> Middletown,VA 22645
> phone:540-869-8702
> cell:240-988-3267
> fax:540-869-8710
> e-mail:naloi at experisdatacenters.com
--
Christian Schneemann
----------------------------------------
SUSE Linux Products GmbH
Maxfeldstr. 5, D - 90409 Nürnberg
Phone: +49 (0)911 - 740 53 0
e-mail: cschneemann at suse.de
----------------------------------------
SUSE Linux Products GmbH, GF: Markus Rex
HRB 16746 (AG Nürnberg)
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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