From owner-freebsd-questions Mon Aug 14 11:28:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.telestream.com (mail.telestream.com [205.238.4.5]) by hub.freebsd.org (Postfix) with ESMTP id 8FBEC37BB12 for ; Mon, 14 Aug 2000 11:28:08 -0700 (PDT) (envelope-from keith@mail.telestream.com) Received: from localhost (keith@localhost) by mail.telestream.com (8.9.3/8.9.3) with ESMTP id LAA03225; Mon, 14 Aug 2000 11:27:55 -0700 Date: Mon, 14 Aug 2000 11:27:55 -0700 (PDT) From: To: Mike Meyer Cc: Jan Pfeifer , questions@FreeBSD.ORG Subject: Re: allow users to mount CD In-Reply-To: <14744.14145.199363.850926@guru.mired.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm a TOTAL nfs/amd newbie but wouldn't it also be possible to setup amd to mount the cd with the proper perms on it, having nfs/amd basicaly do the perms according to what's in your /etc/exports file? Keith ================================= Keith W. At the helm My non work related site www.cydonia.net ================================= On Mon, 14 Aug 2000, Mike Meyer wrote: > Jan Pfeifer writes: > > How do I let users mount a CD, or any other mount point ? > > This question was answered just last week. Basically, you add > "vfs.usermount=1" to /etc/sysctl.conf (creating it if you need to), > chmod the cd devices to mode 660, put the users you want to be able to > mount things in group operator (which owns the CD devices by default; > fix that or use the group that owns them instead if this isn't the > case), then reboot the system. > > Users in group operator can then mount cds on directories *they* own. > > > ps2.: I wanted to avoid to make a suid script to do this ... > > Suid scripts are a very bad idea, so that's a good thing to avoid. If > the above doesn't work, make it a C program instead of a script. > > > > 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