/etc/sudoers

# 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 POWERUSER=[username]

# Cmnd alias specification
Cmnd_Alias YAOURT=/usr/bin/srcpac, /usr/bin/abs, /usr/bin/pacman, /usr/bin/pacdiffviewer

# Defaults specification

# Runas alias specification

# User privilege specification
root    ALL=(ALL) ALL
POWERUSER ALL=(ALL) YAOURT

# 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

Free Web Hosting