c3f26438ef8b33e485d1cbb731b5112c8529a200
[grml-live.git] / etc / grml / fai / config / files / etc / sudoers / GRMLBASE
1 # sudoers file.
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.
4
5 # This file was deployed via grml-live's
6 # /etc/grml/fai/config/scripts/GRMLBASE/20-sudo script, using
7 # /etc/grml/fai/config/files/etc/sudoers/GRMLBASE
8
9 # Host alias specification
10
11 # User alias specification
12
13 # Cmnd alias specification
14
15 # User privilege specification
16 root    ALL=(ALL) ALL
17
18 # WARNING: This allows the unprivileged $USERNAME user to start commands as root
19 # WARNING: This is totally insecure and (almost) makes $USERNAME a second root account.
20 # WARNING: Never allow external access to the $USERNAME user!!!
21 $USERNAME    ALL=NOPASSWD: ALL
22
23 # allow editing of files with editor:
24 # $USERNAME ALL=NOPASSWD: sudoedit
25
26 # usage examples:
27 # $USERNAME ALL=NOPASSWD: /sbin/hdparm
28 # $USERNAME ALL=NOPASSWD: /usr/sbin/hwinfo
29 # Cmnd_Alias DEBIAN = /usr/bin/apt-get, /usr/bin/dpkg, /usr/bin/auto-apt, /usr/bin/apt-file
30 # $USERNAME ALL=NOPASSWD: DEBIAN
31 # chroot       ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot
32 # chroot       ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot