aboutsummaryrefslogtreecommitdiff
path: root/configs/sysmenu/sudoers
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2014-10-09 14:27:58 +0200
committertoni <matzeton@googlemail.com>2014-10-09 14:27:58 +0200
commit7b5978b6147e9897a467c70428e73390e8de07ca (patch)
treefe5d6240fed9b85ac1228096d54c1f817ccba356 /configs/sysmenu/sudoers
parentebcc153211e95eb6c8ad008577095fcbd18f7a2e (diff)
added sysmenu
Diffstat (limited to 'configs/sysmenu/sudoers')
-rwxr-xr-xconfigs/sysmenu/sudoers30
1 files changed, 30 insertions, 0 deletions
diff --git a/configs/sysmenu/sudoers b/configs/sysmenu/sudoers
new file mode 100755
index 0000000..21ca3c1
--- /dev/null
+++ b/configs/sysmenu/sudoers
@@ -0,0 +1,30 @@
+#
+# This file MUST be edited with the 'visudo' command as root.
+#
+# Please consider adding local content in /etc/sudoers.d/ instead of
+# directly modifying this file.
+#
+# See the man page for details on how to write a sudoers file.
+#
+Defaults env_reset
+Defaults mail_badpass
+Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+
+# Host alias specification
+
+# User alias specification
+
+# Cmnd alias specification
+
+# User privilege specification
+root ALL=(ALL:ALL) ALL
+menu ALL=(ALL) NOPASSWD:/sbin/reboot,/sbin/poweroff, /usr/sbin/s2ram --force
+toni ALL=(ALL) NOPASSWD:/usr/sbin/vpnc /etc/vpnc/htwk.conf, /usr/sbin/s2ram --force, /usr/bin/killall -u root vpnc, /usr/sbin/android_adb.sh, /etc/init.d/sleepd start, /etc/init.d/sleepd stop
+%guest ALL=(ALL) NOPASSWD:/usr/bin/startx, /etc/init.d/sleepd start, /etc/init.d/sleepd stop, /usr/bin/spawn_mp3blaster
+
+# Allow members of group sudo to execute any command
+%sudo ALL=(ALL:ALL) ALL
+
+# See sudoers(5) for more information on "#include" directives:
+
+#includedir /etc/sudoers.d