On Wed, 14 Feb 2001, Peter Cavender wrote:
> I was wondering if anyone knew a preferred method of letting non-root 
> users mount and unmount floppies?

  See my other post.  "user" in the options field of /etc/fstab lets anyone
mount it.  "users" lets anyone mount *or* unmount it (good on multi-user
systems).  "owner" means the user must own the /dev/ file before doing the
mount, which works well on Red Hat systems, which are configured such that
anyone logging in on the console becomes the owner of the removable media
devices.

  There is also autofs.  I use this ...

# /etc/auto.master - list of autofs maps and mounts
# 
# For details of the format look at autofs(8).
# mountpoint    map             options
#
/mnt/auto       /etc/auto.map   --timeout 15
#
# END OF FILE

... and this ...

# /etc/auto.map
#
# key [ -mount-options-separated-by-comma ] host:location
# Details may be found in the autofs(5) manpage
#
zip     -fstype=auto,nosuid,noexec,uid=0,gid=0,umask=0          :/dev/zip
cdrom   -fstype=auto,ro,nosuid,noexec,uid=0,gid=0,umask=0       :/dev/cdrom
floppy  -fstype=auto,nosuid,noexec,uid=0,gid=0,umask=0          :/dev/fd0
#
# END OF FILE

... on my workstation.

  As always, Read The Friendly Manual for a detailed explanation of what this
stuff does.  :-)

-- 
Ben Scott <[EMAIL PROTECTED]>
Net Technologies, Inc. <http://www.ntisys.com>
Voice: (800)905-3049 x18   Fax: (978)499-7839


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to