From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 20:50:02 2003 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 2B0F616A4C2 for ; Thu, 28 Aug 2003 20:50:02 -0700 (PDT) Received: from pd5mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FBC343FCB for ; Thu, 28 Aug 2003 20:50:00 -0700 (PDT) (envelope-from desmond.lee@shaw.ca) Received: from pd2mr3so.prod.shaw.ca (pd2mr3so-ser.prod.shaw.ca [10.0.141.108])2003))freebsd-questions@freebsd.org; Thu, 28 Aug 2003 21:49:59 -0600 (MDT) Received: from pn2ml9so.prod.shaw.ca (pn2ml9so-qfe0.prod.shaw.ca [10.0.121.7]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HKD00CHY3ZBPS@l-daemon> for freebsd-questions@freebsd.org; Thu, 28 Aug 2003 21:49:59 -0600 (MDT) Received: from croydon (h24-83-94-81.vs.shawcable.net [24.83.94.81]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with ESMTP id <0HKD008H63Z2ES@l-daemon> for freebsd-questions@freebsd.org; Thu, 28 Aug 2003 21:49:59 -0600 (MDT) Date: Thu, 28 Aug 2003 20:49:49 -0700 From: Desmond Lee In-reply-to: <44d6epxhun.fsf@be-well.ilk.org> To: freebsd-questions@freebsd.org Message-id: <000101c36de0$9c1883a0$6501a8c0@croydon> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook, Build 10.0.2616 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Subject: allowing non root users to mount 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, 29 Aug 2003 03:50:02 -0000 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