From owner-freebsd-questions@FreeBSD.ORG Sat Mar 27 19:00:49 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 A039216A4CE for ; Sat, 27 Mar 2004 19:00:49 -0800 (PST) Received: from charade.trit.org (charade.trit.org [65.19.139.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91B6943D3F for ; Sat, 27 Mar 2004 19:00:49 -0800 (PST) (envelope-from andy@charade.trit.org) Received: by charade.trit.org (Postfix, from userid 1004) id E88CADD; Sun, 28 Mar 2004 03:00:48 +0000 (UTC) Date: Sun, 28 Mar 2004 03:00:48 +0000 From: Andy Miller To: freebsd-questions@freebsd.org Message-ID: <20040328030048.GA21643@charade.trit.org> References: <200403272013.40447.jaymo@cromagnon.cullmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403272013.40447.jaymo@cromagnon.cullmail.com> User-Agent: Mutt/1.4.2.1i Subject: Re: automounting cd-rom & cd-rw devices 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: Sun, 28 Mar 2004 03:00:49 -0000 On Sat, Mar 27, 2004 at 08:13:39PM -0600, Jay Moore wrote: > I have a FreeBSD 4.9 system; I am also running KDE... > > I'm building this system for my son (college student) who has been (until now) > a Windoze user :( I'm trying to set this sytem up so that he'll be able to > use it with a minimum of calls to tech support (me). One of the issues I am > struggling with is how to make the cd-rw & cd-rom devices usable without > requiring him to start a root shell and mount/umount these devices. > > There appear to be some KDE applications that support this, but they must be > started with root permissions. I figured automounting cd's must be a "FAQ", > so I researched the FreeBSD website, and Greg Lehey's book to find "the > answer". Unfortuantely, I found very little info. The only good source of > "how-to" on this subject was a rather dated article that described > configuring amd to do this: > > http://www.daemonnews.org/200202/automounting.html > > The dearth of sources of info on this lead me to wonder if automounting the cd > drives is something that should be done at all. So - my questions are: > > 1) Should I automount cd's? > > 2) What is the "best way" to allow ordinary users to mount cd's? > > Thanks, > Jay Moore > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I believe sudo(8) may be an option for you. It will allow you to give users root privilages for specific commands. Just install sudo from ports. There are some good examples in the sudoers config file for what you want to do. -Andy