X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fcommon%2Fsudoers;h=35bb835a598eda027c0eecb14ba9e62f40530c38;hb=79b269c5a7155063d83e70d981dcbe83910c4082;hp=8dfab608331a33663c1e844e77b98e5d21e33452;hpb=ef7cd9e6c06b7f491dba450a1b7588d0bb5008b0;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index 8dfab6083..35bb835a5 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -50,11 +50,13 @@ nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup "" # with smartarray controllers nagios ALL=(ALL) NOPASSWD: /sbin/hpasmcli "" nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe "" +nagios franck=(ALL) NOPASSWD: /usr/bin/arrayprobe -f /dev/cciss/c1d0 "" nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller all show -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] pd all show -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[01] pd [0-9]\:[0-9] show -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[01] pd [0-9]I\:[0-9]\:[0-9] show -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] show status +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] pd all show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] pd [0-9]\:[0-9] show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] pd [0-9][EIC]\:[0-9]\:[0-9] show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] pd [0-9][EIC]\:[0-9]\:[0-9][0-9] show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] show status # other raid controllers nagios powell=(ALL) NOPASSWD: /usr/local/sbin/areca-cli vsf info nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status