From owner-freebsd-questions Wed Oct 25 12:14:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id DB6BB37B479 for ; Wed, 25 Oct 2000 12:14:28 -0700 (PDT) Received: (qmail 93712 invoked by uid 100); 25 Oct 2000 19:14:22 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14839.12558.199454.322077@guru.mired.org> Date: Wed, 25 Oct 2000 14:14:22 -0500 (CDT) To: "Otter" , freebsd_help@yahoo.com Cc: questions@freebsd.org Subject: RE: Mounting CD-Roms as a normal user In-Reply-To: <31795686@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Otter writes: > if you need to use root permissions as a nomal user > *cough*mount*cough*, check out sudo. with out su'ing to root, i think > that's the only way the cd is gonna get mounted by a user. Not quite. You can set vfs.usermount to 1 (i.e. - as root, "sysctl -w vfs.usermount=1") to let users mount devices - provided the device and directory permissions allow it, and with no suid on the device. The correct way to arrange for that to be set at boot is to add the line "vfs.usermount=1" to /etc/sysctl.conf, possibly creating it in the process. The last alternative is to configure amd to automatically mount cdroms. I can't help with that, though. p.s. don't sweat it. we were all newbies once. just learn it and don't > continue to be a newbie! Always good advice.