On Fri, 7 Jan 2000 09:55:51 -0500, Ben Conrad wrote:
>How do I allow a user to mount a floppy/cdrom on a Linux box (RH 6.0)? I
>can see that in /etc/group there is a group called floppy, I put myself in
>that group, logged in again but I still can't mount the device.
If you don't mind allowing *all* users to mount the floppy drive, you
can enter it into /etc/fstab with the 'user' option. E.g., on one of
my systems, I have this in /etc/fstab:
/dev/fd0 /floppy msdos user,noauto 0 0
With this, any user can do a 'mount /floppy', and the floppy will be
mounted as an msdos disk. This does have the limitation that the
floppy can only be mounted as the file system you specify in
/etc/fstab. OTOH, AFAIK nothing prevents you from setting up multiple
mount points and entries in /etc/fstab. E.g., with
/dev/fd0 /msfloppy msdos user,noauto 0 0
/def/fd0 /extfloppy ext2 user,noauto 0 0
a user could use 'mount /msfloppy' to mount an msdos-formatted floppy,
or 'mount /extfloppy' to mount an ext2-formatted floppy.
Ben
--
Ben Coleman ">oloryn@mindspring.com | The attempt to legislatively
http://oloryn.home.mindspring.com/ | micromanage equality results, at
| best, in equal misery for all.
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.