home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
chilidog.highland.cc.ks.us
/
chilidog.highland.cc.ks.us.zip
/
chilidog.highland.cc.ks.us
/
backup
/
bradford.20101004.etc.tar.gz
/
bradford.20101004.etc.tar
/
etc
/
sudoers
< prev
next >
Wrap
Text File
|
2007-03-14
|
1KB
|
48 lines
# 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
User_Alias CM_USERS = admin, wwwrun
# Cmnd alias specification
Cmnd_Alias CM_COMMANDS = /usr/bin/ssh,/sbin/halt,/sbin/shutdown,/bsc/campusMgr/bin/,/etc/init.d/tomcat,/bin/cp,/usr/bin/scp,/usr/sbin/ntpdate,/sbin/hwclock,/bin/ln,/bin/hostname
# Defaults specification
Defaults:CM_USERS !authenticate, !ignore_dot
# prevent environment variables from influencing programs in an
# unexpected or harmful way (CVE-2005-2959, CVE-2005-4158,
# CVE-2006-0151)
Defaults always_set_home
Defaults env_reset
# In the default (unconfigured) configuration, sudo asks for the root password.
# This allows use of an ordinary user account for administration of a freshly
# installed system. When configuring sudo, delete the two
# following lines:
Defaults targetpw # ask for the password of the target user i.e. root
ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!
# Runas alias specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
CM_USERS ALL = CM_COMMANDS