37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
|
# sudoers file.
|
||
|
#
|
||
|
# This file MUST be edited with the 'visudo' command as root.
|
||
|
#
|
||
|
# See the sudoers man page for the details on how to write a sudoers file.
|
||
|
#
|
||
|
|
||
|
# Host alias specification
|
||
|
|
||
|
# User alias specification
|
||
|
|
||
|
# Cmnd alias specification
|
||
|
Cmnd_Alias DISTRO_CMD = /usr/bin/apt-get, /usr/bin/rpm, /usr/sbin/synaptic, /usr/bin/apt-cdrom, /opt/kde3/bin/mambapt, /usr/bin/smart
|
||
|
Cmnd_Alias EXTRA_CMD = /usr/bin/updatechecker, /usr/sbin/activate
|
||
|
Cmnd_Alias SYSADM_CMD = /usr/bin/kdesu_stub, /sbin/service, /sbin/chkconfig, \
|
||
|
/opt/kde3/bin/guarddog
|
||
|
Cmnd_Alias SYSADM_CMD_PASSWD = /sbin/*, /usr/sbin/*, /bin/*, /usr/bin/*, /opt/kde/bin/*, /opt/kde3/bin/*
|
||
|
|
||
|
# Defaults specification
|
||
|
|
||
|
# Runas alias specification
|
||
|
|
||
|
# User privilege specification
|
||
|
root ALL=(ALL) ALL
|
||
|
|
||
|
# Samples
|
||
|
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
|
||
|
# %users localhost=/sbin/shutdown -h now
|
||
|
|
||
|
%sysadmin ALL = PASSWD: SYSADM_CMD_PASSWD
|
||
|
%packager ALL = NOPASSWD: DISTRO_CMD
|
||
|
%sysadmin ALL = NOPASSWD: DISTRO_CMD
|
||
|
%sysadmin ALL = NOPASSWD: SYSADM_CMD
|
||
|
%sysadmin ALL = NOPASSWD: EXTRA_CMD
|
||
|
|
||
|
#includedir /etc/sudoers.d
|