aboutsummaryrefslogtreecommitdiffstats
path: root/README.bsd
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-09-29 23:42:45 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-09-29 23:42:45 +0000
commite17081b9af0b773ce08e860e200ee5b375c6c77b (patch)
tree99d5e2037b2f89a9e791532b818f3f19afc93d93 /README.bsd
parent20c15d9efbaeb9bcbc755d719e16ede9117b4624 (diff)
Include DragonFly BSD in the list of BSDs to which this applies.
Add information on how to set the mode, owner, and/or group of the BPF devices in FreeBSD with devfs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23032 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'README.bsd')
-rw-r--r--README.bsd34
1 files changed, 32 insertions, 2 deletions
diff --git a/README.bsd b/README.bsd
index eba96b8998..073c5c402a 100644
--- a/README.bsd
+++ b/README.bsd
@@ -1,6 +1,6 @@
$Id$
-Installing Wireshark on FreeBSD/OpenBSD/NetBSD
+Installing Wireshark on FreeBSD/OpenBSD/NetBSD/DragonFly BSD
========================================================================
1. Extra packages required
@@ -80,4 +80,34 @@ that need to use Wireshark to the wheel group. Check your operating
system's documentation on how to make permanent these changes as they
are often reset upon reboot; if /dev is implemented with devfs, it might
be possible to configure devfs to create all bpf devices owned by a
-particular user and/or group and with particular permissions.
+particular user and/or group and with particular permissions. In
+FreeBSD 6.0 and later this can be done by creating an /etc/devfs.rules
+file with content such as
+
+ [localrules=10]
+ add path 'bpf*' {mode and permissons}
+
+where "mode and permissions" can include clauses such as
+
+ mode {octal permissions}
+
+to set the permissions on the device (e.g., "mode 0660" to set the
+permissions to rw-rw-r--),
+
+ user {user}
+
+to set the user who owns the device, or
+
+ group {group}
+
+to set the group that owns the device and adding a line such as
+
+ devfs_system_ruleset=localrules
+
+to /etc/rc.conf. For example, an /etc/devfs.rules file with
+
+ [localrules=10]
+ add path 'bpf*' mode 0660 group wheel
+
+will grant read and write permissions on all BPF devices to all users in
+the "wheel" group.