On Thu, Apr 16, 2009 at 10:18:12PM +0200, Juan Jimenez Galdos 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:".
Which password did you use? Sudo, unless configured otherwise, asks for the user password, not the root password. -- Ariane