blob: 74e7a5cdacad1a6ddde5d4bbbcafe1c66ada5afe [file] [log] [blame]
Michael Still9e814212013-12-25 11:19:28 +11001#
2# This file MUST be edited with the 'visudo' command as root.
3#
4# Please consider adding local content in /etc/sudoers.d/ instead of
5# directly modifying this file.
6#
7# See the man page for details on how to write a sudoers file.
8#
9Defaults env_reset
10Defaults mail_badpass
11Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
12
13# Host alias specification
14
15# User alias specification
16
17# Cmnd alias specification
18
19# User privilege specification
20root ALL=(ALL:ALL) ALL
21
22# Members of the admin group may gain root privileges
23%admin ALL=(ALL) ALL
24
25# Allow members of group sudo to execute any command
26%sudo ALL=(ALL:ALL) ALL
27
28# Turbo Hipster
29th ALL=(root) NOPASSWD: /sbin/ip netns exec nonet *
Michael Stillffe7a2c2014-01-12 13:57:55 +110030th ALL=(root) NOPASSWD: /usr/sbin/service mysql *
Michael Still9e814212013-12-25 11:19:28 +110031
32# See sudoers(5) for more information on "#include" directives:
33
34#includedir /etc/sudoers.d