From owner-freebsd-questions Sat Feb 9 4:25:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by hub.freebsd.org (Postfix) with ESMTP id 3BDFF37B402 for ; Sat, 9 Feb 2002 04:25:34 -0800 (PST) Received: from josep.demon.co.uk ([194.222.61.233] helo=athos.ticktock.foo.uk) by anchor-post-34.mail.demon.net with esmtp (Exim 3.34 #1) id 16ZWZQ-000MwW-0Y; Sat, 09 Feb 2002 12:25:32 +0000 Received: from localhost (tim@localhost) by athos.ticktock.foo.uk (8.11.6/8.11.6) with ESMTP id g19CPUf01003; Sat, 9 Feb 2002 12:25:31 GMT (envelope-from tim.spam@spicy.org.uk) X-Authentication-Warning: athos.ticktock.foo.uk: tim owned process doing -bs Date: Sat, 9 Feb 2002 12:25:30 +0000 (GMT) From: Tim Joseph X-X-Sender: tim@athos.ticktock.foo.uk To: Fuji Zhang Cc: freebsd-questions@freebsd.org Subject: Re: user mount cdrom In-Reply-To: Message-ID: <20020209121825.M907-100000@athos.ticktock.foo.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Type the following as root, without rebooting: sysctl vfs.usermount=1 but to maintain the effect after a reboot, add the following line to /etc/sysctl.conf: vfs.usermount=1 Then you should be able to mount drives as an ordinary user, but with the following limits: 1) If user X mounts the drive, only root or user X can umount it 2) User X can only mount a drive within their own directories, ie /home/X/cdrom This is from my own experience, YMMV HTH From, Tim -- To email me, please remove the ".spam" On Fri, 8 Feb 2002, Fuji Zhang wrote: > hi, i have hard time to mount my cdrom as a oridnary user. i can do it as > root. i followed some of the instructions at some FAQ page. but it did not > work. any ideas and suggestions? appreciated. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message