vaguerent/contrib/sudoers/linux-ubuntu
Brian Cain 15518a8cad (#8842) Update contrib sudoers file for Ubuntu
This commit updates the Ubuntu sudoers file in contrib to be up to date
with the documentation.
2017-08-07 13:15:40 -07:00

9 lines
519 B
Plaintext

# These work with Ubuntu - they might need tweaking for other distributions
Cmnd_Alias VAGRANT_EXPORTS_CHOWN = /bin/chown 0\:0 /tmp/*
Cmnd_Alias VAGRANT_EXPORTS_MV = /bin/mv -f /tmp/* /etc/exports
Cmnd_Alias VAGRANT_NFSD_CHECK = /etc/init.d/nfs-kernel-server status
Cmnd_Alias VAGRANT_NFSD_START = /etc/init.d/nfs-kernel-server start
Cmnd_Alias VAGRANT_NFSD_APPLY = /usr/sbin/exportfs -ar
%sudo ALL=(root) NOPASSWD: VAGRANT_EXPORTS_CHOWN, VAGRANT_EXPORTS_MV, VAGRANT_NFSD_CHECK, VAGRANT_NFSD_START, VAGRANT_NFSD_APPLY