Or just
visudo
My default /etc/sudoers file tails
Code:
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
Just need to visudo and uncomment
Code:
%users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom