|
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.
|