How do I deny user to mount floppy, cdrom and usbstick ?

Thomas Cameron thomas.cameron at camerontech.com
Wed Feb 9 15:33:27 UTC 2005


----- Original Message ----- 
From: "Karl-Olov Serrander" <kase at cntw.com>
To: <fedora-list at redhat.com>
Sent: Wednesday, February 09, 2005 7:22 AM
Subject: How do I deny user to mount floppy, cdrom and usbstick ?


> Running FC2/FC3 in a sensitive environment we need to deny ordinary
> users the possibilty to read or write floppy/cdrom/usbsticks.
>
> We need to be able to give som users/machines permissions to do 
> nothing/read/write
> floppy/cdrom/usbsticks.
>
> How can this be done ?
>
> Regards
> -- 
> Karl-Olov Serrander kase at cntw.com

I *think* you can turn off the floppy and cdrom in /etc/modprobe.conf with 
something like:

alias floppy off
alias cdrom off

I am not sure about USB...  Maybe:

alias usb-storage off

Thomas 




More information about the fedora-list mailing list