README.Debian: Lazy documentation how to set capabilities

This commit is contained in:
Jan Wagner 2014-07-06 12:25:13 +02:00
parent 90090cbc1b
commit a75bd42dca

11
debian/README.Debian vendored
View file

@ -74,11 +74,14 @@ perform. but, in the interest of the "safe default", these plugins will not
be installed with the suid bit set.
if setcap is able set the necessary capabilities, you are fine. if the setcap
binary is not installed or not able to set the capabilities, you need to
eighter set the capabilities (cap_net_raw+ep) for your own or provide root
privileges.
eighter set the capabilities (eg. cap_net_raw+ep) for your own or provide root
privileges. You could go the lazy way and install libcap2-bin and run the
following afterwards:
there are two recommended ways about providing root privilegethis on your
system:
# /var/lib/dpkg/info/monitoring-plugins-basic.postinst configure
there are two recommended ways about providing root priviles to your plugins
on your system:
- set the suid bit with dpkg-statoverride: