How do I deny user to mount floppy, cdrom and usbstick ?
Craig White
craigwhite at azapple.com
Wed Feb 9 16:39:39 UTC 2005
On Wed, 2005-02-09 at 09:50 -0600, H. Streit wrote:
> hm, maybe I'm just being a bit of a joykill, but if you don't want
> them to mount floppys, cdroms, and usbsticks, (and if they're not
> supposed to be mounting anything at all) couldn't you just
> root at localhost# chown root.root `which mount` && \
> chmod go-rwx `which mount`
> And be done with it?
> Also, if the floppy, cdrom, and usbstick devices all belong to
> respective groups, couldn't you just rip the users out of the groups
> in the /etc/group file?
----
It would seem to me that editing for the devices
in /etc/udev/permissions.d/10-udev.permissions or adjusting 50-
udev.permissions would serve the purpose very easily
Craig
More information about the fedora-list
mailing list