Date: Thu, 28 Aug 2003 20:49:49 -0700 From: Desmond Lee <desmond.lee@shaw.ca> To: freebsd-questions@freebsd.org Subject: allowing non root users to mount Message-ID: <000101c36de0$9c1883a0$6501a8c0@croydon> In-Reply-To: <44d6epxhun.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello I'm trying to set up my system so that it can automatically mount some file systems on boot. However, can you do this on freeBSD? I mean, with RedHat it does it for you so that you have a floppy and cdrom icon on your desktop. But can you do that w/ freeBSD? I don't think so cause if there is no floppy/zip disk/ or cdRom in the drive when you mount, it will return you an error. So trying to mount these on boot is not right... is this correct? So far, I've just set up the /etc/fstab file so that the root can just type "mount /floppy" or "mount /zip" or whatever to mount the drives as needed. However, only root can do this and no other user is allowed to do mounts. # Device Mountpoint FStype Options Dump Pass# /dev/ad1s1b none swap sw 0 0 /dev/ad1s1a / ufs rw 1 1 /dev/ad1s1f /usr ufs rw 2 2 /dev/ad1s1e /var ufs rw 2 2 /dev/acd0c /cdrom cd9660 ro,noauto 0 0 /dev/fd0 /floppy msdos rw,noauto 0 0 /dev/afd0s4 /zip msdos rw,noauto 0 0 proc /proc procfs rw 0 0 Is there any way that I can get no root users to mount files systems like cdrom, zip and floppy? I tried to look this up and some people said to use the "user" option in the /etc/fstab file, but this didn't work. Using the "nousid" option didn't work either. Thanks in advance. Regards Desmond
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000101c36de0$9c1883a0$6501a8c0>