From owner-freebsd-questions Sat Apr 1 11:12:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.nyroc.rr.com (mail2-0.nyroc.rr.com [24.92.226.75]) by hub.freebsd.org (Postfix) with ESMTP id C058237B589 for ; Sat, 1 Apr 2000 11:12:39 -0800 (PST) (envelope-from leisner@rochester.rr.com) Received: from rochester.rr.com ([24.93.17.24]) by mail2.nyroc.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-53939U80000L80000S0V35) with ESMTP id com; Sat, 1 Apr 2000 14:08:12 -0500 Received: from soyata.home (IDENT:leisner@localhost [127.0.0.1]) by rochester.rr.com (8.9.3/8.8.5) with ESMTP id OAA02255; Sat, 1 Apr 2000 14:12:37 -0500 Message-Id: <200004011912.OAA02255@rochester.rr.com> X-Mailer: exmh version 2.1.0 09/18/1999 Reply-To: leisner@rochester.rr.com To: bart.lateur@skynet.be (Bart Lateur) Cc: freebsd-questions@FreeBSD.ORG, leisner@rochester.rr.com Subject: Re: mounting a cdrom as a normal user. In-reply-to: Your message of "Sat, 01 Apr 2000 17:02:21 GMT." <38e726f9.857708@relay.skynet.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 01 Apr 2000 14:12:37 -0500 From: "Marty Leisner" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The linux mount program is setuid and has a user fstab option. I definitely like it...it solves this problem... I have cdrom entries in my fstab of noauto,user and don't have this problem. Marty Leisner bart.lateur@skynet.be (Bart Lateur) writes on Sat, 01 Apr 2000 17:02:21 GMT > On Sat, 1 Apr 2000 03:15:36 -0800 (PST), Derrick Baumer wrote: > > >> Using fbsd 3.4-release, I would like to give one user the ability to > >> mount/umount cdrom's and floppies, but not for any other user. > > > >The base installation does that for you quite nicely. The user is > >called "root". :) > > Don't think of it as a joke. If I get this correctly, the question is: > > How do you let one user insert, remove, and switch CD's without > granting him root privileges? > > I can imagine one way, using SUID scripts owned by root, run by that > user. But as I'm still pretty green, I'm not sure if it will work; or if > it is even necessary. One thing you could make sure of, is that these > commands are issued from the local terminal. Remotelyremoving a CD makes > not much sense. > > -- > Bart. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message