From owner-freebsd-questions Wed Jan 31 8:12:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmls20.mediaone.net (chmls20.mediaone.net [24.147.1.156]) by hub.freebsd.org (Postfix) with ESMTP id 7403B37B69C for ; Wed, 31 Jan 2001 08:12:35 -0800 (PST) Received: from be-well.ilk.org (lowellg.ne.mediaone.net [24.147.184.128]) by chmls20.mediaone.net (8.11.1/8.11.1) with ESMTP id f0VGCY606092 for ; Wed, 31 Jan 2001 11:12:34 -0500 (EST) Received: (from lowell@localhost) by be-well.ilk.org (8.11.1/8.11.1) id f0VGCYt36191; Wed, 31 Jan 2001 11:12:34 -0500 (EST) (envelope-from lowell) To: freebsd-questions@freebsd.org Subject: Re: A different "user mounting of /cdrom" References: <3A778EA0.2ED43768@glue.umd.edu> From: Lowell Gilbert Date: 31 Jan 2001 11:12:34 -0500 In-Reply-To: bfoz@glue.umd.edu's message of "31 Jan 2001 05:04:19 +0100" Message-ID: <44y9vrpuod.fsf@lowellg.ne.mediaone.net> Lines: 23 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bfoz@glue.umd.edu (Brandon Fosdick) writes: > Ok, so I've been through the FAQ entry for allowing users to > mount/umount removable media. It works exactly like the FAQ said it > would, and thats my problem. > > The provided method allows users to mount media to directories owned by > the user in question. How do I allow many users to mount the cdrom to > /cdrom as opposed to ${HOME}/whatever? AFAIK I can't make /cdrom owned > by all of the users, and setting the group on /cdrom didn't work. This all depends on how much you trust the users, and how much you want to treat the machine as a basically single-user (on the console) machine. One option is giving root powers to the users for just this one purpose: carefully tuned use of sudo (in the ports) or a suid-root (ugh) program to do the mount for you. Another option is giving the /cdrom directory to the console user with fbtab(5) and/or Xsetup. The latter option at least protects the console user from possibly malicious other users. Good luck. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message