Some of the root plugins (check_dhcp and check_icmp) haven't been installed. What's happening?

Posted by tonvoon on 29 September 2007 - 8:16pm

There are a few plugins which require root access. These are compiled under the plugins-root subdirectory. A make install will install it with the install user's owner and group permissions. However, if you run make install without root, this message will appear:

WARNING: insufficient access; not installing setuid plugins
NOTE: to install setuid plugins, run 'make install-root' as root"

To install, run as root:

make install-root

Even if you are not root, the plugins will still be installed. This is for packagers which can then alter the permissions of the plugins before packaging.

This behaviour is used by coreutils for the su binary and is duplicated for this project.