LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2006, 03:03 PM   #1
dreakon
Member
 
Registered: Nov 2004
Posts: 101

Rep: Reputation: 15
How to grant users mount permission


Im using Slackware 10.2. While logged in as root I have full access to my DVD drive and anything else. How can I give my normal user login permission to mount drives?
 
Old 06-13-2006, 04:03 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
you'll need to edit /etc/fstab..........Example
Code:
/dev/hdb8        /home/music      ext2        noauto,owner,users     
/dev/hda5        /stuff           vfat        noauto,owner,users      
/dev/hdb7        /ebook           vfat        noauto,owner,users     
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,users,ro  
/dev/cdrom1      /mnt/cdrom1      iso9660     noauto,owner,users,ro
give users permissions like you see in red
 
Old 06-13-2006, 04:56 PM   #3
jonwatson
Member
 
Registered: Jun 2004
Location: Nova Scotia, Canada!
Distribution: Ubuntu
Posts: 170

Rep: Reputation: 30
Probably too much information, but...

If you use the word "users", then any user will be able to mount that file sytem and any user can unmount it. If you use the word "user" (no 's'), then any user can mount the file system, but only the user who mounted it can unmount it.

Sounds like you're just running a single-user system so it doesn't matter, but I think this is an interesting little tidbit.
 
Old 06-13-2006, 07:59 PM   #4
dreakon
Member
 
Registered: Nov 2004
Posts: 101

Original Poster
Rep: Reputation: 15
No, it does matter, I am running a single user system, but I really appreciate all the knowledge I can get. Very many thanks to the both of you.
 
Old 06-13-2006, 08:07 PM   #5
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
for more details check out 'man mount' it tells you all of the options available and describes what they do.
 
  


Reply

Tags
fstab, mount, umount, unmount


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
How to grant root previlege to other users? wtb1974 Linux - Newbie 4 03-19-2006 12:20 AM
giving users permission to mount a CD ricardo_ok Slackware 4 11-03-2005 12:58 PM
Grant permission to run server - how? yrozijn Linux - Newbie 2 03-25-2005 04:29 AM
how do i grant privilages to 'normal users' jogurt666 Linux - General 1 12-18-2003 01:39 PM
giving users permission to mount dai Linux - General 2 08-02-2002 02:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 PM.

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
Open Source Consulting | Domain Registration