LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-05-2005, 06:09 PM   #1
phonecian
Member
 
Registered: Jul 2003
Location: Au
Distribution: SLES8, centOS 3.5 & 4 servers, xandros desktops
Posts: 95

Rep: Reputation: 15
Permitting users to mount devices


A new centos4 machine refuses to allow ordinary users to mount memory sticks. Only root can mount and unmount. Can anyone tell me which group I need to put users in so they can mount and unmount these devices.
Thanks
 
Old 11-05-2005, 09:22 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Read man mount -- in particular look at the user option that you can add to /etc/fstab. This option allows ordinary users to mount devices. Only the user that mounts a device will be able to umount it, though.
 
Old 11-06-2005, 03:12 AM   #3
phonecian
Member
 
Registered: Jul 2003
Location: Au
Distribution: SLES8, centOS 3.5 & 4 servers, xandros desktops
Posts: 95

Original Poster
Rep: Reputation: 15
Thanks for this help
 
Old 11-06-2005, 10:09 AM   #4
randyding
Member
 
Registered: May 2004
Posts: 552

Rep: Reputation: 31
If Fedora is still like Redhat in this regard, I think it is, then look into the file /etc/security/console.perms
This file gives whoever is logged into the console ownership of certain devices, including your memory sticks.
What this won't do is allow someone ssh'd in from another place to have ownership... but in this case they won't be physically present either to insert the memstick.
Edit: meant Cent not fedora, need more coffee this morning.

Last edited by randyding; 11-06-2005 at 10:11 AM.
 
  


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
can I mount two devices to the same mount point? gsgleason Linux - Hardware 7 03-04-2005 05:29 AM
letting non-root users mount devices davey Linux - General 3 12-10-2003 06:09 AM
Permitting a user to write to another users home directory rddreamz Linux - Newbie 4 11-19-2003 01:01 AM
Allowing users to mount and access devices katanastab Linux - General 1 02-14-2002 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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