home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 April
/
CMCD0404.ISO
/
Software
/
Freeware
/
Programare
/
groupoffice-com-2.01
/
lib
/
sudoers
< prev
next >
Wrap
Text File
|
2004-03-08
|
982b
|
31 lines
# /etc/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 ADDUSER = /usr/sbin/useradd
Cmnd_Alias USERDEL = /usr/sbin/userdel
Cmnd_Alias CHPASSWD = /usr/sbin/chpasswd
Cmnd_Alias REBOOT = /sbin/reboot
Cmnd_Alias POWEROFF = /sbin/poweroff
Cmnd_Alias SMBADDUSER = /usr/sbin/auto_smbadduser.exp
Cmnd_Alias SMBPASSWD = /usr/sbin/auto_smbpasswd.exp
Cmnd_Alias SMBDELUSER = /usr/bin/smbpasswd
Cmnd_Alias FETCHMAIL = /usr/bin/fetchmail
# User privilege specification
Defaults syslog=auth
Defaults:apache !authenticate
root ALL=(ALL) ALL
apache ALL= NOPASSWD: ADDUSER, CHPASSWD, REBOOT, POWEROFF, USERDEL, SMBADDUSER, SMBPASSWD, SMBDELUSER, FETCHMAIL
mschering ALL= NOPASSWD: ADDUSER, CHPASSWD, REBOOT, POWEROFF, USERDEL, SMBADDUSER, SMBPASSWD, SMBDELUSER, FETCHMAIL