Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 14:05:37 +0100
From:      Rahul Siddharthan <rsidd@physics.iisc.ernet.in>
To:        Kris Kennaway <kris@freebsd.org>
Cc:        chat@freebsd.org
Subject:   Re: desktops and mounting
Message-ID:  <20010104140537.H10414@lpt.ens.fr>
In-Reply-To: <20010104045830.A6003@citusc.usc.edu>; from kris@freebsd.org on Thu, Jan 04, 2001 at 04:58:30AM -0800
References:  <20010104115026.B10414@lpt.ens.fr> <20010104045830.A6003@citusc.usc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway said on Jan  4, 2001 at 04:58:30:
> On Thu, Jan 04, 2001 at 11:50:26AM +0100, Rahul Siddharthan wrote:
> > Recently while setting up a FreeBSD machine for desktop use, and
> > watching linux users on their machines, it seemed to me that
> > everything that can be done on linux can be done equally easily on
> > FreeBSD -- except non-root mounting of removable media (like floppies,
> > CDROMs).  You can't allow user mounts simply by adding a "user" option
> > in /etc/fstab, and simple point-and-clicking in KDE/GNOME doesn't work
> > either.
> 
> There's a sysctl which allows user mounting of filesystems
> (vfs.usermount). And it *is* a potential security hole if your
> permissions aren't set right.
> 
> Set the sysctl in rc.sysctl, add the file system to fstab with noauto,
> and then any user who passes the permissions check can mount it on
> demand.

That is essentially the FAQ answer, but I seem to remember that the
user still needs to own the mount point, so adding a single mount
point to fstab doesn't work.  Users should make mount points within
their own home directories.

Rahul. 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




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