LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mounting pen drive through sudo without root password (https://www.linuxquestions.org/questions/linux-software-2/mounting-pen-drive-through-sudo-without-root-password-760528/)

cjagdish69 10-08-2009 07:20 AM

mounting pen drive through sudo without root password
 
I want to allow a user called 'kkyy' the mounting of pendrive from their own accounts on RHEL 3.0 workstation(Taroon). How can i achieve this ?

I tried to insert following command in /etc/sudoers
kkyy ALL=NOPASSWORD: /usr/bin/mount

Is it correct way ?

- jagdish.

~sHyLoCk~ 10-08-2009 08:09 AM

Shouldn't it be /bin/mount?


All times are GMT -5. The time now is 01:17 AM.