2 # This file MUST be edited with the "visudo" command as root.
3 # See the man page for details on how to write a sudoers file.
5 # Host alias specification
7 # User alias specification
9 # Cmnd alias specification
11 # User privilege specification
14 # WARNING: This allows the unprivileged $USERNAME user to start commands as root
15 # WARNING: This is totally insecure and (almost) makes $USERNAME a second root account.
16 # WARNING: Never allow external access to the $USERNAME user!!!
17 $USERNAME ALL=NOPASSWD: ALL
19 # allow editing of files with editor:
20 # $USERNAME ALL=NOPASSWD: sudoedit
23 # $USERNAME ALL=NOPASSWD: /sbin/hdparm
24 # $USERNAME ALL=NOPASSWD: /usr/sbin/hwinfo
25 # Cmnd_Alias DEBIAN = /usr/bin/apt-get, /usr/bin/dpkg, /usr/bin/auto-apt, /usr/bin/apt-file
26 # $USERNAME ALL=NOPASSWD: DEBIAN
27 # chroot ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot
28 # chroot ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot