From owner-freebsd-questions@FreeBSD.ORG Tue Aug 29 05:27:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 243B616A4DF for ; Tue, 29 Aug 2006 05:27:10 +0000 (UTC) (envelope-from svein.h@lvor.halvorsen.cc) Received: from signal.itea.ntnu.no (signal.itea.ntnu.no [129.241.190.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AFAE43D46 for ; Tue, 29 Aug 2006 05:27:06 +0000 (GMT) (envelope-from svein.h@lvor.halvorsen.cc) Received: from localhost (localhost [127.0.0.1]) by signal.itea.ntnu.no (Postfix) with ESMTP id 854A634FED for ; Tue, 29 Aug 2006 07:27:03 +0200 (CEST) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by signal.itea.ntnu.no (Postfix) with SMTP for ; Tue, 29 Aug 2006 07:27:03 +0200 (CEST) Received: (qmail 4026 invoked by uid 88); 29 Aug 2006 07:27:02 +0200 Received: from 37.84-48-193.nextgentel.com (HELO [10.0.0.8]) (84.48.193.37) by maren.thelosingend.net (qpsmtpd/0.31.1) with ESMTP; tir, 29 aug 2006 07:27:01 +0200 Message-ID: <44F3D00D.1090702@lvor.halvorsen.cc> Date: Tue, 29 Aug 2006 07:26:37 +0200 From: Svein Halvor Halvorsen User-Agent: Thunderbird 1.5.0.2 (X11/20060522) MIME-Version: 1.0 To: Viswas Nair References: <73d604760608270741k4998723au81b258ef17b41c70@mail.gmail.com> In-Reply-To: <73d604760608270741k4998723au81b258ef17b41c70@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=9198BB40; url=mailto:pgpkey@svein.halvorsen.cc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCE06C4CBD11F1070E7BC6C9B" X-Virus-Checked: Checked X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: freebsd-questions@freebsd.org Subject: Re: User permissions to mount CDROM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2006 05:27:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCE06C4CBD11F1070E7BC6C9B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Viswas Nair wrote: > I have been trying to figure out how to give users to mount CD rom and = have > been largely unsuccessful. Here are a few things I tried: > 1) Added user to the 4th field (options) in /etc/fstab > 2) Added vfs.usermount=3D1 to sysctl.conf > 3) Created a group called optical and added the root and alpha to it > 4) Added following lines to devfs,conf : > own /dev/acd0 root:optical > perm /dev/acd0 0770 > own /dev/acd1 root:optical > perm /dev/acd1 0770 User must have access to the mount point as well, eg. /cdrom. Svein Halvor --------------enigCE06C4CBD11F1070E7BC6C9B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: mailto:pgpkey@svein.halvorsen.cc to get my PGP-key iD8DBQFE89ARhQg3vZGYu0ARAkUEAJ9Y5bVRTSZ8fwsY5wg+ZjEwdm3wawCgp0Cj p/R0YGpBk2gHAiqpL72OK/w= =qTO9 -----END PGP SIGNATURE----- --------------enigCE06C4CBD11F1070E7BC6C9B--