*BSD News Article 45643


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!gatech!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!narcisa.sax.de!not-for-mail
From: j@narcisa.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Suggestion for 2.1
Date: 13 Jun 1995 12:50:19 +0200
Organization: Private U**x site, Dresden.
Lines: 34
Message-ID: <3rjqhb$sm6@bonnie.tcd-dresden.de>
References: <3r6rh4$64v@oz.plymouth.edu> <3r80ka$bun@iii1.iii.net> <3rh7k3$mcb@bonnie.tcd-dresden.de> <3rhn7o$2d2@rover.village.org>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Warner Losh <imp@village.org> wrote:

(Unprivileged floppy and CD mounting)

>I have 
>/dev/cd0a               /cdrom  cd9660 ro 0 0
>/dev/fd0                /floppy  msdos rw 0 0
>
>in my /etc/fstab. and just do
>
>	sudo mount /cdrom
>	sudo mount /floppy
>
>which isn't so bad :-).

Except that it's opening security holes (unless `sudo' has a rather
sophisticated configuration mechanism).  No big issue for a machine at
home, but i get a better feeling with the well-taylored Perl script
than a `generic su hole'.  Even though i'm normally alone on my
machine, there are a few accounts on it, and as long as the box is
connected through the SLIP to outside, they are free to log in and do
what they want.  (Not that i think they'd like to do me some bad, but
i'd also have to make sure they don't do bad things _by accident_.)

>Too bad there's no way to put the stuff in your /etc/fstab w/o having
>it mounted on boot.

I still can imagine of the Linux solution as well.  What exactly is
it?  Does anybody here know?
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)