Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 1995 23:41:57 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: Automounting CD-ROMs
Message-ID:  <199511022241.XAA16222@uriah.heep.sax.de>
In-Reply-To: <12345.815343386@time.cdrom.com> from "Jordan K. Hubbard" at Nov 2, 95 12:16:26 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Jordan K. Hubbard wrote:
> 
> > Linux has a concent of "user" mount, so any user can generate a 
> > mount /cdrom command (if the entry for /cdrom is user).
> > 
> > I've never seen it, its very useful...does FreeBSD have it?
> 
> Not really, no.  You could make a suid mount wrapper or something,
> but I'm sure the security weenies here would SCREAM! :-)

There's no reason to scream.  You can force the wrapper to mount
nosuid,noexec if you like, and you can make it executable only to the
members of a particular group.

I personally prefer typing "do-mount cd" anyway instead of "su root;
mount -r -t cd9660 /dev/cd0a /cdrom; exit".

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511022241.XAA16222>