LinuxQuestions.org
Visit Jeremy's Blog.
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
 
Search this Thread
Old 10-08-2009, 08: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, 09: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


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


All times are GMT -5. The time now is 09:49 AM.

Main Menu
Advertisement
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