LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-08-2009, 07:20 AM   #1
cjagdish69
Member
 
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Rep: Reputation: 15
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.
 
Old 10-08-2009, 08:09 AM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Shouldn't it be /bin/mount?
 
  


Reply

Tags
drive, mounting, pen, sudo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
my sudo password is not the root password newbiesforever Linux - General 7 01-02-2010 09:59 PM
mounting pen drive neerajgupta Linux - Newbie 2 05-30-2008 12:26 AM
sudo - root password not working Valkyrie_of_valhalla Linux - Software 3 03-11-2007 01:01 PM
root password doesn't work when I use sudo ... bucovaina78 Linux - Security 5 11-10-2004 02:50 PM
Mounting Pen Drive coolfrog Linux - General 4 09-09-2004 09:10 AM


All times are GMT -5. The time now is 12:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration