diff options
Diffstat (limited to 'web/input/doc/faq/root-plugins.md')
-rw-r--r-- | web/input/doc/faq/root-plugins.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/web/input/doc/faq/root-plugins.md b/web/input/doc/faq/root-plugins.md new file mode 100644 index 0000000..b5db74d --- /dev/null +++ b/web/input/doc/faq/root-plugins.md | |||
@@ -0,0 +1,27 @@ | |||
1 | title: Root plugins | ||
2 | parent: FAQ | ||
3 | --- | ||
4 | |||
5 | # Why aren't the root plugins installed? | ||
6 | |||
7 | There are a few plugins which require root access, namely check\_dhcp and | ||
8 | check\_icmp. These are compiled under the `plugins-root` subdirectory. A | ||
9 | `make` `install` will install them with the install user's owner and group | ||
10 | permissions. However, if you run `make` `install` without being root, this | ||
11 | message will appear: | ||
12 | |||
13 | WARNING: insufficient access; not installing setuid plugins | ||
14 | NOTE: to install setuid plugins, run 'make install-root' as root | ||
15 | |||
16 | To install, run as root: | ||
17 | |||
18 | make install-root | ||
19 | |||
20 | Even if you are not root, the plugins will still be installed. This is for | ||
21 | packagers which can then alter the permissions of the plugins before | ||
22 | packaging. | ||
23 | |||
24 | This behaviour is used by coreutils for the `su` binary and is duplicated for | ||
25 | this project. | ||
26 | |||
27 | <!--% # vim:set filetype=markdown textwidth=78 joinspaces: # %--> | ||