sudo visudo
## Next comes the main part: which users can run what software on
## which machines (the sudoers file can be shared between multiple
## systems).
## Syntax:
##
## user MACHINE=COMMANDS
##
## The COMMANDS section may have other options added to it.
##
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
simonsun ALL=(root)NOPASSWD:ALL
sun ALL=(root)NOPASSWD:/usr/sbin/br2684ctl,/sbin/ifconfig,/sbin/ifup,/bin/mount,/sbin/mount.ntfs-3g,/sbin/mount.ntfs-fuse,/bin/umount,/etc/rc.d/init.d/iptables,/usr/bin/yum,/usr/sbin/adsl-connect,/usr/sbin/adsl-start,/usr/sbin/adsl-setup,/usr/sbin/adsl-status,/usr/sbin/adsl-stop
## Allows members of the 'sys' group to run networking, software,
## service management apps and more.
# %sys ALL = NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, LOCATE, DRIVERS