From owner-freebsd-questions@FreeBSD.ORG Fri Feb 6 07:19:05 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 474C516A4CE for ; Fri, 6 Feb 2004 07:19:05 -0800 (PST) Received: from lark.auton.cs.cmu.edu (LARK.AUTON.CS.CMU.EDU [128.2.222.44]) by mx1.FreeBSD.org (Postfix) with SMTP id CD2E343D58 for ; Fri, 6 Feb 2004 07:19:03 -0800 (PST) (envelope-from dpelleg@lark.auton.cs.cmu.edu) Sender: dpelleg@lark.auton.cs.cmu.edu To: Edd Barrett References: <000b01c3eca4$b7c41ae0$8000a8c0@it3> From: Dan Pelleg Date: 06 Feb 2004 10:18:38 -0500 In-Reply-To: <000b01c3eca4$b7c41ae0$8000a8c0@it3> Message-ID: Lines: 25 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: desktop freebsd?? 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: Fri, 06 Feb 2004 15:19:05 -0000 "Edd Barrett" writes: > Hi all, > I have been using freebsd for my web/database/music server for a while and > it has performed flawlessly. good good! However recently I installed freebsd > on my desktop too. I can do the things I want to, it just seems that i need > to be root to do a lot of things. If I didnt have root, I would be screwed. > > One point I find annoying is that I cant workout how a normal user can > unmount a fs. I have created ~/cdrom and put an fstab entry in for it. The > device is /dev/acd0 (777 for now). vfs.usermount=1. I can mount the share, > but not unmount it. For now I have chmod +s /sbin/umount. This is bad and i > wouldnt appreciate a normal user unmounting my hard disks. What is the > proper way?? My version is 5.2-release. Use the automounter. Not only will it save you the need to mount altogether, it's also likely to handle unmounting correctly for you (if not, just do amq -u as a regular user). Details here: http://www.daemonnews.org/200202/automounting.html -- Dan Pelleg