View Single Post
  #7   (View Single Post)  
Old 12th November 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Default

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
__________________
da more I know I know I know nuttin'
Reply With Quote