From Gzav's Wiki

Deb: Sudoers

Le fichier /etc/sudoers


# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults	env_reset

# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL

# Host alias specification

# User alias specification
User_Alias APT=user1

# Cmnd alias specification
Cmnd_Alias DEBIAN_TOOLS = /usr/bin/aptitude, /usr/bin/apt-get, /usr/bin/auto-apt, \
/usr/bin/dpkg, /usr/bin/dselect, /usr/sbin/synaptic

# User privilege specification
root	ALL=(ALL) ALL
user1	ALL=(ALL) NOPASSWD: /usr/sbin/xfsm-shutdown-helper
APT	ALL=NOPASSWD: DEBIAN_TOOLS


Retrieved from http://www.ubbdf.fr/pmwiki/Deb/Sudoers
Page last modified on May 08, 2009, at 10:28 PM