From 6f0b72ea23dfa3eaf9e9446c2b3ac8cf406787cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= Date: Sat, 9 Sep 2017 11:49:59 +0200 Subject: [PATCH] Update sudoers file for SUSE --- contrib/sudoers/linux-suse | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/contrib/sudoers/linux-suse b/contrib/sudoers/linux-suse index 30658af3f..2620138a4 100644 --- a/contrib/sudoers/linux-suse +++ b/contrib/sudoers/linux-suse @@ -1,7 +1,6 @@ -Cmnd_Alias VAGRANT_EXPORTS_ADD = /usr/bin/tee -a /etc/exports -Cmnd_Alias VAGRANT_NFSD_CHECK = /sbin/service nfsserver status -Cmnd_Alias VAGRANT_NFSD_START = /sbin/service nfsserver start -Cmnd_Alias VAGRANT_NFSD_APPLY = /usr/sbin/exportfs -ar -Cmnd_Alias VAGRANT_EXPORTS_REMOVE = /usr/bin/sed -r -e * d -ibak /*/exports -Cmnd_Alias VAGRANT_EXPORTS_REMOVE_2 = /usr/bin/cp /*/exports /etc/exports -%vagrant ALL=(root) NOPASSWD: VAGRANT_EXPORTS_ADD, VAGRANT_NFSD_CHECK, VAGRANT_NFSD_START, VAGRANT_NFSD_APPLY, VAGRANT_EXPORTS_REMOVE, VAGRANT_EXPORTS_REMOVE_2 +Cmnd_Alias VAGRANT_CHOWN = /usr/bin/chown 0\:0 /tmp/vagrant[a-z0-9-]* +Cmnd_Alias VAGRANT_MV = /usr/bin/mv -f /tmp/vagrant[a-z0-9-]* /etc/exports +Cmnd_Alias VAGRANT_START = /sbin/service nfsserver start +Cmnd_Alias VAGRANT_STATUS = /sbin/service nfsserver status +Cmnd_Alias VAGRANT_APPLY = /usr/sbin/exportfs -ar +%vagrant ALL=(root) NOPASSWD: VAGRANT_CHOWN, VAGRANT_MV, VAGRANT_START, VAGRANT_STATUS, VAGRANT_APPLY