Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Feb 2008 10:46:04 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Cc:        freebsd-net@freebsd.org, lysergius2001 <lysergius2001@gmail.com>, "Bruce M. Simpson" <bms@freebsd.org>, John-Mark Gurney <jmg@funkthat.com>
Subject:   Re: modifying permissions in /dev 
Message-ID:  <20080207184604.217E345010@ptavv.es.net>
In-Reply-To: Your message of "Thu, 07 Feb 2008 21:40:00 +0300." <+Oslp5zezDUHSfXCT9N9C5qGZIo@4emqrsZRSNlbYTMRNETK7AEirXc> 

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
--==_Exmh_1202409964_88965P
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> Date: Thu, 7 Feb 2008 21:40:00 +0300
> From: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
> Sender: owner-freebsd-net@freebsd.org
> 
> Good day.
> 
> Thu, Feb 07, 2008 at 06:33:30PM +0000, lysergius2001 wrote:
> > Ah!  That helps.  Still cannot mount floppy except as root?
> 
> Set vfs.usermount=1 in /etc/sysctl.conf and restart sysctl via
> '/etc/rc.d/sysctl restart'.  But be aware of security implications:
> anyone will be able to mount devices that are opened to him/her via
> filesystem permissions.

While adding "vfs.usermount=1" to /etc/sysctl is needed to make the
sysctl carry over reboots, you don't need to start sysctl again. Just:
sysctl vfs.usermount=1
will do the trick.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

--==_Exmh_1202409964_88965P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002

iD8DBQFHq1Hskn3rs5h7N1ERAjUYAJ9CWIVOuHQOPGmuJvunC4bkFkY+lwCeIJEh
bFKVuy+7qmF9kApKTYdLlF4=
=4rWS
-----END PGP SIGNATURE-----

--==_Exmh_1202409964_88965P--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20080207184604.217E345010>