Skip site navigation (1)Skip section navigation (2)
Date:      06 Feb 2004 10:18:38 -0500
From:      Dan Pelleg <daniel+bsd@pelleg.org>
To:        Edd Barrett <edd@arameus.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: desktop freebsd??
Message-ID:  <u2shdy4nsmp.fsf@lark.auton.cs.cmu.edu>
In-Reply-To: <000b01c3eca4$b7c41ae0$8000a8c0@it3>
References:  <000b01c3eca4$b7c41ae0$8000a8c0@it3>

next in thread | previous in thread | raw e-mail | index | archive | help
"Edd Barrett" <edd@arameus.net> 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



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