LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Permitting users to mount devices (https://www.linuxquestions.org/questions/linux-security-4/permitting-users-to-mount-devices-380309/)

phonecian 11-05-2005 06:09 PM

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

btmiller 11-05-2005 09:22 PM

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.

phonecian 11-06-2005 03:12 AM

Thanks for this help

randyding 11-06-2005 10:09 AM

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.


All times are GMT -5. The time now is 08:25 PM.