modifying permissions in /dev

Kevin Oberman oberman at es.net
Thu Feb 7 10:46:06 PST 2008


> Date: Thu, 7 Feb 2008 21:40:00 +0300
> From: Eygene Ryabinkin <rea-fbsd at codelabs.ru>
> Sender: owner-freebsd-net at 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 at es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20080207/bee08186/attachment.pgp


More information about the freebsd-net mailing list