LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-19-2004, 10:47 AM   #1
devit
Member
 
Registered: Jan 2004
Distribution: Slackware 9.1
Posts: 82

Rep: Reputation: 15
mount/umount


This is my /etc/fstab file:

Code:
/dev/hda5        swap             swap        defaults         0   0
/dev/hda1        /                ext3        defaults         1   1
/dev/scd0        /mnt/cdrom       auto        noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
What do I have to modify so any user could mount/umount a device?

Thanks!
 
Old 02-19-2004, 10:56 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Add ",user" to the fourth column.

John
 
Old 02-19-2004, 11:04 AM   #3
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
like this:

Code:
/dev/fd0         /mnt/floppy      auto        noauto,user      0   0
 
Old 02-19-2004, 11:10 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
It may be ",users". Or both. 'users' is supposed to be for unmounting, 'user' for mounting.
 
Old 02-19-2004, 12:37 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,568

Rep: Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865
FYI:
user
Allow an ordinary user to mount the file system. The name of the mounting user is written to mtab so that he can unmount the file system again. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid).

users
Allow every user to mount and unmount the file system. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line users,exec,dev,suid).
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount and umount problem salahuddin_66 Debian 3 05-03-2005 07:49 AM
root can only mount/umount snocked Linux - Newbie 9 04-22-2004 02:52 PM
Serious mount/umount problems... Veratien Linux - Software 8 03-23-2003 05:05 PM
mount and umount wr3ck3d Linux - Newbie 4 12-14-2002 04:04 PM
mount, umount cdrom Opaque Linux - Newbie 3 06-21-2001 09:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:12 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
Open Source Consulting | Domain Registration