5 cat > "$target"/etc/sudoers << EOF
7 # This file MUST be edited with the "visudo" command as root.
8 # See the man page for details on how to write a sudoers file.
10 # Host alias specification
12 # User alias specification
14 # Cmnd alias specification
16 # User privilege specification
19 # WARNING: This allows the unprivileged grml user to start commands as root
20 # WARNING: This is totally insecure and (almost) makes grml a second root account.
21 # WARNING: Never allow external access to the grml user!!!
22 grml ALL=NOPASSWD: ALL
24 # allow editing of files with editor:
25 # grml ALL=NOPASSWD: sudoedit
28 # grml ALL=NOPASSWD: /sbin/hdparm
29 # grml ALL=NOPASSWD: /usr/sbin/hwinfo
30 # Cmnd_Alias DEBIAN = /usr/bin/apt-get, /usr/bin/dpkg, /usr/bin/auto-apt, /usr/bin/apt-file
31 # grml ALL=NOPASSWD: DEBIAN
32 # chroot ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot
33 # chroot ALL=NOPASSWD: /usr/sbin/chroot, /bin/su - chroot
35 secvpn ALL=NOPASSWD: /usr/sbin/secvpn, /usr/sbin/pppd