From owner-freebsd-questions@FreeBSD.ORG Mon Jan 12 13:08:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2505D16A4CE for ; Mon, 12 Jan 2004 13:08:44 -0800 (PST) Received: from smtp6.wanadoo.nl (smtp6.wanadoo.nl [194.134.35.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id C53CF43D8A for ; Mon, 12 Jan 2004 13:08:24 -0800 (PST) (envelope-from znerd@FreeBSD.org) Received: from 10.0.0.153 (db-c-1b11d.adsl.wanadoo.nl [81.69.207.29]) by smtp6.wanadoo.nl (Postfix) with ESMTP id 485B3782F6; Mon, 12 Jan 2004 22:07:58 +0100 (CET) From: Ernst de Haan To: ecrist@adtechintegrated.com, Gautam Gopalakrishnan Date: Mon, 12 Jan 2004 22:08:52 +0000 User-Agent: KMail/1.5.4 References: <200401121441.05186.ecrist@adtechintegrated.com> <20040112205042.GA44664@madras.dyndns.org> <200401121459.47773.ecrist@adtechintegrated.com> In-Reply-To: <200401121459.47773.ecrist@adtechintegrated.com> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401122208.52253.znerd@FreeBSD.org> cc: freebsd-questions@freebsd.org Subject: Re: Mounting as non-root? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2004 21:08:44 -0000 Eric, Use amd, the auto-mounting daemon. See: http://www.daemonnews.org/200202/automounting.html Let me know how this works for you. I've got some problems with it, probably mainly due to an Audio CD program getting in the way. Ernst On Monday 12 January 2004 20:59, Eric F Crist wrote: > On Monday 12 January 2004 02:50 pm, Gautam Gopalakrishnan wrote: > > On Mon, Jan 12, 2004 at 02:40:54PM -0600, Eric F Crist wrote: > > Content-Description: signed data > > > > > What is the most secure way to enable mounting of flash drives, > > > cdroms, and floppies? I've seen solutions that include setting > > > setuid on mount. I would rather not go this route. Is there any > > > other easy, secure way? > > > > sudo is the easiest I've seen. I've stopped using su nowadays, for > > anything > > Gautam, > > I guess I should have specified a little clearer. My desktop users have > an icon on their desktops so they can access the cdrom, usb flash drives, > etc. They need the ability to just right-click an select mount or > unmount. I have temporarily setuid on mount and umount, but this allows > these users to mount and unmount core filesystems, too. I would like to > get away from this.