README.Debian: Lazy documentation how to set capabilities
This commit is contained in:
parent
90090cbc1b
commit
a75bd42dca
11
debian/README.Debian
vendored
11
debian/README.Debian
vendored
|
@ -74,11 +74,14 @@ perform. but, in the interest of the "safe default", these plugins will not
|
||||||
be installed with the suid bit set.
|
be installed with the suid bit set.
|
||||||
if setcap is able set the necessary capabilities, you are fine. if the setcap
|
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
|
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
|
eighter set the capabilities (eg. cap_net_raw+ep) for your own or provide root
|
||||||
privileges.
|
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
|
# /var/lib/dpkg/info/monitoring-plugins-basic.postinst configure
|
||||||
system:
|
|
||||||
|
there are two recommended ways about providing root priviles to your plugins
|
||||||
|
on your system:
|
||||||
|
|
||||||
- set the suid bit with dpkg-statoverride:
|
- set the suid bit with dpkg-statoverride:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue