# $Id$
# $URL$
#
# Modificado por Ana Lucia de Oliveira Tavares em 11/2010
# Modificado por Andre Marra em 01/2012
#
# 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

# Defaults specification

# Reset environment by default
Defaults	env_reset

# Uncomment to allow users in group wheel to export variables
# Defaults:%wheel	!env_reset

# Allow users in group users to export specific variables
# Defaults:%users	env_keep=TZ

# Allow specific user to bypass env_delete for TERMCAP
# Defaults:user     env_delete-=TERMCAP

# Set default EDITOR to vi, and do not allow visudo to use EDITOR/VISUAL.
# Defaults	editor=/usr/bin/vim, !env_editor

# Runas alias specification

# *** REMEMBER ***************************************************
# * GIVING SUDO ACCESS TO USERS ALLOWS THEM TO RUN THE SPECIFIED *
# * COMMANDS WITH ELEVATED PRIVILEGES.                           *
# *                                                              *
# * NEVER PERMIT UNTRUSTED USERS TO ACCESS SUDO.                 *
# ****************************************************************

# User privilege specification
root	ALL=(ALL) ALL

# Uncomment to allow people in group wheel to run all commands
%wheel	ALL=(ALL)	ALL

apache ALL = NOPASSWD: /usr/bin/rcs , /usr/bin/ci , /usr/bin/co , /usr/local/sbin/netconf , /usr/local/sbin/serialconf , /usr/local/sbin/pppconf , /usr/local/sbin/memory_usage , /usr/local/sbin/erase_all_registers , /etc/init.d/instrument , /bin/kill , /bin/cp , /bin/rm , /bin/ln , /usr/bin/unlink , /sbin/route , /sbin/reboot , /usr/local/lib/pqfw/lang , /usr/local/lib/pqfw/frequency , /usr/local/lib/pqfw/battery , /usr/local/lib/pqfw/harmonics , /usr/local/lib/pqfw/sequence , /usr/sbin/usermod , /usr/local/lib/pqfw/keymngr , /usr/local/sbin/ntpconf , /etc/init.d/gsu , /usr/local/lib/pqfw/pmu

fut ALL = NOPASSWD: /bin/rm -rf /tmp/fw-install , /tmp/fw-install/fw-image/installer , /sbin/reboot , /sbin/fdisk

download ALL = NOPASSWD: /usr/bin/rcs , /usr/bin/ci , /usr/bin/co , /etc/init.d/instrument , /sbin/reboot , /usr/local/sbin/rename_records , /usr/local/sbin/ratester

gooseconf ALL = NOPASSWD: /etc/init.d/instrument

# Same thing without a password
# %wheel	ALL=(ALL)	NOPASSWD: ALL

# Users in group www are allowed to  edit httpd.conf and ftpd.conf
# using sudoedit, or sudo -e, without a password.
# %www		ALL=(ALL)	NOPASSWD: sudoedit /etc/httpd.conf, /etc/ftpd.conf

# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
