projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d89d68d
)
give %list access to service {spamassassin,amavis} {reload,restart,stop,start}
author
Peter Palfrader
<peter@palfrader.org>
Wed, 22 Nov 2017 18:05:46 +0000
(19:05 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 22 Nov 2017 18:05:46 +0000
(19:05 +0100)
modules/sudo/files/sudoers
patch
|
blob
|
history
diff --git
a/modules/sudo/files/sudoers
b/modules/sudo/files/sudoers
index
cfcf4a7
..
60e0795
100644
(file)
--- a/
modules/sudo/files/sudoers
+++ b/
modules/sudo/files/sudoers
@@
-263,6
+263,8
@@
debwww WEBHOSTS=(archvsync) NOPASSWD: /home/archvsync/webmirrors/runmirrors
%list LISTHOSTS=(root) /usr/sbin/postfix reload
%list LISTHOSTS=(root) /usr/sbin/qshape, /usr/sbin/postsuper
%list LISTHOSTS=(root) /etc/init.d/spamassassin, /etc/init.d/amavis
%list LISTHOSTS=(root) /usr/sbin/postfix reload
%list LISTHOSTS=(root) /usr/sbin/qshape, /usr/sbin/postsuper
%list LISTHOSTS=(root) /etc/init.d/spamassassin, /etc/init.d/amavis
+%list LISTHOSTS=(root) /usr/sbin/service spamassassin restart, /usr/sbin/service spamassassin reload, /usr/sbin/service spamassassin stop, /usr/sbin/service spamassassin start
+%list LISTHOSTS=(root) /usr/sbin/service amavis restart, /usr/sbin/service amavis reload, /usr/sbin/service amavis stop, /usr/sbin/service amavis start
%list LISTHOSTS=(amavis) NOPASSWD: /usr/bin/sa-learn
%list LISTHOSTS=(amavis) ALL
# geodns may reload bind
%list LISTHOSTS=(amavis) NOPASSWD: /usr/bin/sa-learn
%list LISTHOSTS=(amavis) ALL
# geodns may reload bind