From 7b5978b6147e9897a467c70428e73390e8de07ca Mon Sep 17 00:00:00 2001 From: toni Date: Thu, 9 Oct 2014 14:27:58 +0200 Subject: added sysmenu --- configs/sysmenu/sudoers | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 configs/sysmenu/sudoers (limited to 'configs/sysmenu/sudoers') 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 -- cgit v1.2.3