desktop freebsd??

Dan Pelleg daniel+bsd at pelleg.org
Fri Feb 6 07:19:05 PST 2004


"Edd Barrett" <edd at 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


More information about the freebsd-questions mailing list