LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-21-2007, 02:01 PM   #1
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
give access to users


Which option do i have to enable in the user manager to allow users to mount, unmount and eject cdroms? can't seem to find any info in the book.
 
Old 03-21-2007, 02:11 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Hi there The man pages on 'mount' and 'fstab' provide all the details but the following should help you:
The CDROM should be in the group 'cdrom'. If the user(s) in question are also in that group, they have access to the device.
In /etc/fstab on the line for the device in question, add the flag 'user' or 'users' to the mount option. User keeps the drive under ownership of the user who mounted it, while users allows any user to umount it regardless who mounted it.
Alternately, the option 'umask=077' or 'umask=000' should allow users to mount/umount the drive.
Here's a line from my etc/fstab file:
Code:
/dev/hdb	/media/cdrom		udf,iso9660	defaults,noauto,user	0 0
Best of luck, I hope this clarifies it some. Do read the man pages though, there's a lot of stuff in there.
 
Old 03-21-2007, 02:29 PM   #3
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Original Poster
Rep: Reputation: 38
That got it :)

thank you again grapefruitgirl.

just needed the users instead of user.
 
  


Reply


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 give a drive write access to all users in FSTAB? (ext3) jon_k Linux - Software 2 12-19-2004 09:46 PM
How to give non-root users access to mounted partitions? black hole sun Linux - Software 5 10-28-2004 05:52 PM
Give certain users more access to resources tearinox Slackware 2 05-21-2004 02:44 AM
give users access to home dirs jonas73 Linux - Newbie 2 03-16-2004 01:42 AM
How to give users access to installed program? Tiyogi Linux - Software 4 03-08-2004 07:49 AM


All times are GMT -5. The time now is 07:05 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