Guest User

Untitled

a guest
Oct 21st, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. ================================================================================
  2. plugins needing root privilege
  3. ================================================================================
  4.  
  5. the check_dhcp, check_icmp and maybe others plugins require root privileges to
  6. run, because of the low-level packet mangling that they perform.
  7. but, in the interest of the "safe default", these plugins will not
  8. be installed with the suid bit set. there are two recommended ways
  9. about overriding this on your system:
  10.  
  11. - set the suid bit with dpkg-statoverride:
  12.  
  13. # dpkg-statoverride --update --add root nagios 4750 $plugin
  14.  
  15. where $plugin is the specific plugin you want to grant such privileges.
  16.  
  17. - use sudo to grant the permissions and modify your plugin config
  18.  
  19. of these two, the first is recommended because it's the simplest and
  20. has the same effect as the second.
Add Comment
Please, Sign In to add comment