[Bug 1203757] [NEW] "nagios-plugin" plugin check_icmp missing suid-bit after update

cyco 1203757 at bugs.launchpad.net
Tue Jul 23 08:47:17 UTC 2013


Am 22.07.2013 15:59, schrieb Bugrepoter:
> update of the nagios-plugins removes the suid-bit from check_icmp. This

Sorry, this binaries don't have suid set. I guess you did change that on
your own. Maybe you should have a look into
/usr/share/doc/nagios-plugins-basic/README.Debian.gz:

================================================================================
plugins needing root privilege
================================================================================

the check_dhcp, check_icmp and maybe others plugins require root
privileges to
run, because of the low-level packet mangling that they perform.
but, in the interest of the "safe default", these plugins will not
be installed with the suid bit set.  there are two recommended ways
about overriding this on your system:

- set the suid bit with dpkg-statoverride:

# dpkg-statoverride --update --add root nagios 4750 $plugin

where $plugin is the specific plugin you want to grant such privileges.

- use sudo to grant the permissions and modify your plugin config

of these two, the first is recommended because it's the simplest and
has the same effect as the second.


> breaks all host checks, since the nagios user can't ping any host
> without it.

The default configuration is to use check_ping for the host check.

Cheers, Jan.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/1203757

Title:
  "nagios-plugin" plugin check_icmp missing suid-bit after update

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins/+bug/1203757/+subscriptions



More information about the Ubuntu-server-bugs mailing list