From owner-freebsd-questions Tue Feb 9 09:06:50 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA09945 for freebsd-questions-outgoing; Tue, 9 Feb 1999 09:06:50 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from Bespin.worldnet.net (bespin.worldnet.net [195.3.3.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA09936 for ; Tue, 9 Feb 1999 09:06:45 -0800 (PST) (envelope-from pcasidy@worldnet.fr) Received: from greatoak (p14-024.province.worldnet.fr [195.3.14.24]) by Bespin.worldnet.net (8.8.8/8.8.8) with ESMTP id SAA25739; Tue, 9 Feb 1999 18:04:45 +0100 (CET) Received: (from pcasidy@localhost) by greatoak (8.8.8/8.8.8) id SAA00848; Tue, 9 Feb 1999 18:08:32 +0100 (CET) (envelope-from pcasidy) Message-Id: <199902091708.SAA00848@greatoak> Date: Tue, 9 Feb 1999 18:08:32 +0100 (CET) From: Philippe CASIDY Subject: Re: Mounting CDROM (or removable media) by users To: gjb@comkey.com.au cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <19990208191340.13475.qmail@alpha.comkey.com.au> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 9 Feb, Greg Black wrote: >> The same and eternal questions about 'How to allow users to mount >> cdrom?'. >> >> I have seen a lot of times this question in the archive of this mailing >> list with no real answer. Okay, I can use 'sudo' or such things. I have >> even try to use amd with no success. > > Well tell us what problems you had. As it comes out of the box > (on 2.2.8 at least), a simple package install of sudo and a few > seconds editing the /usr/local/etc/sudoers file with visudo will > have everybody able to execute something like "mount /cdrom" and > "umount /cdrom" and the problem is solved. > > If you try this and have problems, explain exactly what happened > and somebody will help you. > My question was more about why it is not possible than how to solve this. To solve this, I have read about sudo tools and there maybe a possibility with amd. But what is the reason about this behavior? As I said, under Debian Linux, you just have to add the option 'user' in the fstab file. Why no such options under FreeBSD? Anyway, I found the solution with sudo more flexible but I am just curious to know what is the reason about not being able to do this directly with the system. ;-) Thanks. Phil. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message