Re-add instructions for USB devfs rules.
PR: 224928 Submitted by: madpilot Approved by: bcr Differential Revision: https://reviews.freebsd.org/D16681
This commit is contained in:
parent
b5f16bbdf4
commit
b9a0586e3f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=52161
1 changed files with 16 additions and 0 deletions
|
@ -934,6 +934,22 @@ perm vboxnetctl 0660</programlisting>
|
|||
|
||||
<screen>&prompt.root; <userinput>pw groupmod operator -m <replaceable>yourusername</replaceable></userinput></screen>
|
||||
|
||||
<para>Then, add the following to
|
||||
<filename>/etc/devfs.rules</filename>, or create this file if
|
||||
it does not exist yet:</para>
|
||||
|
||||
<programlisting>[system=10]
|
||||
add path 'usb/*' mode 0660 group operator</programlisting>
|
||||
|
||||
<para>To load these new rules, add the following to
|
||||
<filename>/etc/rc.conf</filename>:</para>
|
||||
|
||||
<programlisting>devfs_system_ruleset="system"</programlisting>
|
||||
|
||||
<para>Then, restart devfs:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>service devfs restart</userinput></screen>
|
||||
|
||||
<para>Restart the login session and
|
||||
<application>&virtualbox;</application> for these changes to
|
||||
take effect, and create <acronym>USB</acronym> filters as
|
||||
|
|
Loading…
Reference in a new issue