summaryrefslogtreecommitdiffstats
path: root/web/input/doc/faq/root-plugins.md
blob: 37c875d313bfd47d118dc0b33a792ea4a5b60ee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
title: Root plugins
parent: FAQ
---

# Why aren't the root plugins installed?

There are a few plugins which require root access, namely `check_dhcp` and
`check_icmp`.  These are compiled under the `plugins-root` subdirectory.  A
`make` `install` will install them with the install user's owner and group
permissions.  However, if you run `make` `install` without being 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.

<!--% # vim:set filetype=markdown textwidth=78 joinspaces expandtab: # %-->