sudoers
changeset 0 60bc07f3f415
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sudoers	Thu Feb 27 17:12:59 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +#
     1.5 +# This file MUST be edited with the 'visudo' command as root.
     1.6 +#
     1.7 +# Please consider adding local content in /etc/sudoers.d/ instead of
     1.8 +# directly modifying this file.
     1.9 +#
    1.10 +# See the man page for details on how to write a sudoers file.
    1.11 +#
    1.12 +Defaults	env_reset
    1.13 +Defaults	mail_badpass
    1.14 +Defaults	secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
    1.15 +
    1.16 +# Host alias specification
    1.17 +
    1.18 +# User alias specification
    1.19 +
    1.20 +# Cmnd alias specification
    1.21 +
    1.22 +# User privilege specification
    1.23 +root	ALL=(ALL:ALL) ALL
    1.24 +
    1.25 +osecuser ALL=(root)NOPASSWD:/usr/bin/apt-get -y up*
    1.26 +osecuser ALL=(root)NOPASSWD:/usr/bin/apt-get -y dist-upgrade*
    1.27 +osecuser ALL=(root)NOPASSWD:/sbin/shutdown*
    1.28 +osecuser ALL=(root)NOPASSWD:/usr/sbin/hibernate-disk*
    1.29 +
    1.30 +
    1.31 +# Allow members of group sudo to execute any command
    1.32 +%sudo	ALL=(ALL:ALL) ALL
    1.33 +
    1.34 +# See sudoers(5) for more information on "#include" directives:
    1.35 +
    1.36 +#includedir /etc/sudoers.d