add a sudoers.d drop-in file

master
neingeist 10 years ago
parent 66e3c5ac51
commit ec05fd3935

@ -2,3 +2,4 @@ default:
install: install:
install -o root -g root -m 0755 check_lvm_thinpools /usr/lib/nagios/plugins/ install -o root -g root -m 0755 check_lvm_thinpools /usr/lib/nagios/plugins/
install -o root -g root -m 0600 check_lvm_thinpools-sudoers.d /etc/sudoers.d/check_lvm_thinpools

@ -0,0 +1 @@
nagios ALL = (root) NOPASSWD: /usr/lib/nagios/plugins/check_lvm_thinpools
Loading…
Cancel
Save