sudoers
author ft
Tue, 04 Nov 2014 14:58:00 +0100
changeset 2 ee0797f46473
permissions -rw-r--r--
changed some things
     1 #
     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 #
     9 Defaults	env_reset
    10 Defaults	mail_badpass
    11 Defaults	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
    20 root	ALL=(ALL:ALL) ALL
    21 
    22 osecuser ALL=(root)NOPASSWD:/usr/bin/apt-get -y up*
    23 osecuser ALL=(root)NOPASSWD:/usr/bin/apt-get -y dist-upgrade*
    24 osecuser ALL=(root)NOPASSWD:/sbin/shutdown*
    25 osecuser ALL=(root)NOPASSWD:/usr/sbin/hibernate-disk*
    26 
    27 
    28 # Allow members of group sudo to execute any command
    29 %sudo	ALL=(ALL:ALL) ALL
    30 
    31 # See sudoers(5) for more information on "#include" directives:
    32 
    33 #includedir /etc/sudoers.d