X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fper-host%2Fpergolesi.debian.org%2Fsudoers;fp=modules%2Fsudo%2Ffiles%2Fper-host%2Fpergolesi.debian.org%2Fsudoers;h=004797074799419c40541c4ca6885172121b53fa;hb=d0ba5dc906cbff4a9dd947d461a15be4cc8fd761;hp=0000000000000000000000000000000000000000;hpb=6c73eb516652d9a03f7b5835dd49de76c793b0bb;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/per-host/pergolesi.debian.org/sudoers b/modules/sudo/files/per-host/pergolesi.debian.org/sudoers new file mode 100644 index 000000000..004797074 --- /dev/null +++ b/modules/sudo/files/per-host/pergolesi.debian.org/sudoers @@ -0,0 +1,29 @@ +## +## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. +## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git +## + +# sudoers file. +# +# This file MUST be edited with the 'visudo' command as root. +# +# See the man page for details on how to write a sudoers file. +# + +# Host alias specification + +# User alias specification + +# Cmnd alias specification + +# User privilege specification +root ALL=(ALL) ALL + +# Debian Admin +%adm ALL=(ALL) ALL +%adm ALL=(ALL) NOPASSWD: /usr/bin/apt-get update, /usr/bin/apt-get dist-upgrade, /usr/bin/apt-get clean, /usr/sbin/samhain -t check -i -p err -s none -l none -m none +%adm ALL=(ALL) NOPASSWD: /usr/sbin/upgrade-porter-chroots + +nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup "" +nagios ALL=(ALL) NOPASSWD: /usr/sbin/samhain -t check --foreground -p err -s none -l none -m none +