From owner-freebsd-chat Thu Jan 4 5: 5:42 2001 From owner-freebsd-chat@FreeBSD.ORG Thu Jan 4 05:05:41 2001 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id 8B78737B400; Thu, 4 Jan 2001 05:05:39 -0800 (PST) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id f04D5cM15444 ; Thu, 4 Jan 2001 14:05:38 +0100 (CET) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id OAA20181 ; Thu, 4 Jan 2001 14:05:37 +0100 (CET) Date: Thu, 4 Jan 2001 14:05:37 +0100 From: Rahul Siddharthan To: Kris Kennaway Cc: chat@freebsd.org Subject: Re: desktops and mounting Message-ID: <20010104140537.H10414@lpt.ens.fr> References: <20010104115026.B10414@lpt.ens.fr> <20010104045830.A6003@citusc.usc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010104045830.A6003@citusc.usc.edu>; from kris@freebsd.org on Thu, Jan 04, 2001 at 04:58:30AM -0800 X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: Rahul.Siddharthan@lpt.ens.fr Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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