Hi!

On Thu, Apr 16, 2009 at 04:29:48PM -0400, Nick Guenther wrote:
>On Thu, Apr 16, 2009 at 4:18 PM, Juan Jimenez Galdos
><juangmgald...@gmail.com> wrote:
>> 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

Eeks, I even missed to see that argument mismatch in my last reply...
*rolls eyes*

Kind regards,

Hannah.

Reply via email to