Subject: Re: floppy and cd-rom access and cd-rw drive
To: None <perry@piermont.com, John.C.Hayward@wheaton.edu>
From: Stephane Engel <stephane_engel@hotmail.com>
List: current-users
Date: 02/10/1999 06:18:32
You can also mount/umount your floppy/cdrom with amd ...
I don't have a NetBSD box to me, but I think there is an exemple around 
/usr/share/exemple/amd (for cdrom but easy to adapt for a floppy drive)


>Received: by mail.filcom.com with MERCUR-SMTP/POP3/IMAP4-Server 
(v3.00.28 AS-0098311) for <engel@atechsys.fr> at Wed, 10 Feb 1999  
02:11:05 +0100
>Received: (qmail 19046 invoked by uid 605); 9 Feb 1999 22:47:34 -0000
>Received: (qmail 19020 invoked from network); 9 Feb 1999 22:47:28 -0000
>Received: from jekyll.piermont.com (206.1.51.15)
>  by redmail.netbsd.org with SMTP; 9 Feb 1999 22:47:28 -0000
>Received: by jekyll.piermont.com (Postfix, from userid 1000)
>	id 5E98D166; Tue,  9 Feb 1999 17:47:27 -0500 (EST)
>To: "John C. Hayward" <John.C.Hayward@wheaton.edu>
>Cc: Fusie Zhang <fzhang@cs.nmsu.edu>, current-users@netbsd.org
>Subject: Re: floppy and cd-rom access and cd-rw drive
>References: 
<Pine.ULT.4.02.9902091427220.18263-100000@david.wheaton.edu>
>Reply-To: perry@piermont.com
>X-Reposting-Policy: redistribute only with permission
>Mime-Version: 1.0 (generated by tm-edit 7.108)
>Content-Type: text/plain; charset=US-ASCII
>From: "Perry E. Metzger" <perry@piermont.com>
>Date: 09 Feb 1999 17:47:27 -0500
>In-Reply-To: "John C. Hayward"'s message of "Tue, 9 Feb 1999 14:30:23 
-0600 (CST)"
>Message-ID: <87yam7xkhs.fsf@jekyll.piermont.com>
>Lines: 15
>X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
>Sender: current-users-owner@netbsd.org
>Precedence: list
>Delivered-To: current-users@netbsd.org
>
>
>"John C. Hayward" <John.C.Hayward@wheaton.edu> writes:
>> I have a suid program called fmount and fumount for mouting floppies 
to a
>> directory we have called /a:.  Students can mount their msdos 
floppies.
>
>Why bother with that? mount already lets non-root users use it.
>
>> In general allowing non root users to mount netbsd floppies 
introduces
>> some security issues (user mounts the floppy with their own suid 
program
>> ...)
>
>Ah, but if mount is used by a non-root user this isn't an issue -- try 
>it out... :)
>
>Perry


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com