X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tunings-myplc-devel%2Fsudoers;fp=tunings-myplc-devel%2Fsudoers;h=1ab84f432c9ca6e1c3b1fc572876c21371333947;hb=2f7b6538e61308fd724be13bc8b316fc650805be;hp=0000000000000000000000000000000000000000;hpb=ce4284cc7fe2645a8e6bd1e0f83c549ee921b6ae;p=infrastructure.git diff --git a/tunings-myplc-devel/sudoers b/tunings-myplc-devel/sudoers new file mode 100644 index 0000000..1ab84f4 --- /dev/null +++ b/tunings-myplc-devel/sudoers @@ -0,0 +1,33 @@ +# sudoers file. +# +# This file MUST be edited with the 'visudo' command as root. +# +# See the sudoers man page for the details on how to write a sudoers file. +# + +# Host alias specification + +# User alias specification +User_Alias ONELAB = %onelab + +# Cmnd alias specification +Cmnd_Alias UPDATE = /plc/devel/data/root/bin/auto-update.sh + +# Defaults specification + +# Runas alias specification + +# User privilege specification +root ALL=(ALL) ALL + +# Uncomment to allow people in group wheel to run all commands +# %wheel ALL=(ALL) ALL + +# Same thing without a password +# %wheel ALL=(ALL) NOPASSWD: ALL + +# Samples +# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom +# %users localhost=/sbin/shutdown -h now + +ONELAB ALL = (build) NOPASSWD: UPDATE