diff options
Diffstat (limited to 'web/input/doc/faq/ownership.md')
| -rw-r--r-- | web/input/doc/faq/ownership.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/web/input/doc/faq/ownership.md b/web/input/doc/faq/ownership.md new file mode 100644 index 0000000..58bc311 --- /dev/null +++ b/web/input/doc/faq/ownership.md | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | title: Ownership | ||
| 2 | parent: FAQ | ||
| 3 | --- | ||
| 4 | |||
| 5 | # Which user owns the installed plugins? | ||
| 6 | |||
| 7 | If you run `./configure` `--with-user=nagios`, then at `make` `install` time, | ||
| 8 | the installation will set the ownership of the plugins to the nagios user | ||
| 9 | (similarly for `--with-group`). If these options are not set, the plugins | ||
| 10 | will be installed with the install user's owner and group permissions - it is | ||
| 11 | your responsibility to set other permissions, if required. | ||
| 12 | |||
| 13 | The only exception are root plugins. These are under `plugins-root/` and are | ||
| 14 | also installed with the install user's owner and group permissions. | ||
| 15 | |||
| 16 | If you run: | ||
| 17 | |||
| 18 | make install-root | ||
| 19 | |||
| 20 | This will set permissions to root, assuming you are either root or using | ||
| 21 | fakeroot. If not, the setuid bit is still set, but the plugin may not work | ||
| 22 | correctly. This is the behaviour used by coreutils for the `su` binary and is | ||
| 23 | duplicated in this project. | ||
| 24 | |||
| 25 | <!--% # vim:set filetype=markdown textwidth=78 joinspaces: # %--> | ||
