LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-06-2004, 08:56 PM   #1
ruwach
Member
 
Registered: Feb 2003
Location: sc
Distribution: mandrake 9
Posts: 73

Rep: Reputation: 15
can a regular user mount devices


Hey there,
i am wanting to set a debian system ( with gnome) to allow the regular user to mount and unmount a drive ( cd-rw, and dvd ) . can i do this with fstab ? how does auto mount work.
thanks,
 
Old 12-06-2004, 09:02 PM   #2
ylikone
Member
 
Registered: Dec 2004
Location: Ontario, Canada
Distribution: ArchLinux, VectorLinux, Ubuntu, Debian, Linspire
Posts: 66

Rep: Reputation: 15
Yes, it is possible, a lot of distro's are setup so that they don't run as root, but the default regular user can mount/umount drives. I believe it has something to do with using the "sudo" command (and settings in /etc/sudoers). Sorry I can't give any more info, but I'm sure somebody will.
 
Old 12-06-2004, 09:26 PM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
"man fstab" will suggest checking "man mount" which will suggest using "user" or "users" in the /etc/fstab line for that device.
 
Old 12-06-2004, 09:50 PM   #4
Paxmaster
Member
 
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Rep: Reputation: 30
i believe u can change its permission
 
Old 12-06-2004, 10:19 PM   #5
ruwach
Member
 
Registered: Feb 2003
Location: sc
Distribution: mandrake 9
Posts: 73

Original Poster
Rep: Reputation: 15
cool, how ?
 
Old 12-07-2004, 11:33 AM   #6
Paxmaster
Member
 
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Rep: Reputation: 30
by using chown username and point that to ur cdrom (hdb, hdd, ........ it depend on which ur cdrom is location, and make sure take a look at ur /etc/fstab)
also then change the argument to /mnt/cdrom

____________________
life is just a candle

Last edited by Paxmaster; 12-07-2004 at 11:37 AM.
 
Old 12-07-2004, 12:40 PM   #7
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Rep: Reputation: 30
Change or add the line in /etc/fstab
/dev/cdrom /mnt/cdrom iso9600 nonauto,users,ro 0 0
Of course you will want to change the device and the mount point to suit your system
 
  


Reply



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 not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
chmod help so regular users can mount cds Garibaldi3489 Slackware 4 01-31-2005 01:04 PM
enable regular users to write a mount brainlesspinkey Linux - Newbie 1 11-14-2004 11:52 PM
Can't Login As Regular User After Trying... drdroid Linux - General 8 02-08-2004 11:30 AM
Can't log in as regular user Fugazi Linux - Newbie 1 12-27-2003 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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