X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Ffiles%2Fetc%2Fsudoers;fp=etc%2Fgrml%2Ffai%2Ffiles%2Fetc%2Fsudoers;h=fa78cc0330feb114ef65a20c5c91f19912620e78;hb=46e327ee238f7a1b11ec7c6895a0b4b87be9fbbe;hp=0000000000000000000000000000000000000000;hpb=b20d1f05dab564fbab2bea7118b3201421d411e7;p=grml-live.git diff --git a/etc/grml/fai/files/etc/sudoers b/etc/grml/fai/files/etc/sudoers new file mode 100644 index 0000000..fa78cc0 --- /dev/null +++ b/etc/grml/fai/files/etc/sudoers @@ -0,0 +1,28 @@ +# 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 + +# WARNING: This allows the unprivileged $USERNAME user to start commands as root +# WARNING: This is totally insecure and (almost) makes $USERNAME a second root account. +# WARNING: Never allow external access to the $USERNAME user!!! +$USERNAME ALL=NOPASSWD: ALL + +# allow editing of files with editor: +# $USERNAME ALL=NOPASSWD: sudoedit + +# usage examples: +# $USERNAME ALL=NOPASSWD: /sbin/hdparm +# $USERNAME ALL=NOPASSWD: /usr/sbin/hwinfo +# Cmnd_Alias DEBIAN = /usr/bin/apt-get, /usr/bin/dpkg, /usr/bin/auto-apt, /usr/bin/apt-file +# $USERNAME ALL=NOPASSWD: DEBIAN +# chroot ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot +# chroot ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot