On Thu, Apr 16, 2009 at 4:18 PM, Juan Jimenez Galdos <juangmgald...@gmail.com> wrote: > Sorry, I pressed enter. > > I add to sudoers (cd0 is the directory in /mnt/): > db ALL=/sbin/mount /cd0,/sbin/umount /cd0 > > But when I try "mount /dev/cd0c /mnt/cd0" and i write the password it says > "try again", and i have written the password correctly. I am trying to do > the same without password: > > db ALL=NOPASSWD:/sbin/mount /cd0,/sbin/umount /cd0 > > But something is wrong, and it says "password:".
..are you sure? You've said here that db can run mount /cd0, not mount /mnt/cd0 If you want help here you should (generally) make an effort to collect and post as much information as possible. What command are you typing that is making it say "password:"? > Thank you very much.