|author||Gerald Combs <email@example.com>||2010-04-07 17:13:28 +0000|
|committer||Gerald Combs <firstname.lastname@example.org>||2010-04-07 17:13:28 +0000|
Add a setuid example.
svn path=/trunk/; revision=32418
Diffstat (limited to 'doc/README.packaging')
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/README.packaging b/doc/README.packaging
index 15c500adf9..b3f42e1a40 100644
@@ -59,14 +59,21 @@ capabilities library (on which it depends) is found.
Warnings are displayed when Wireshark and TShark are run
-For systems that have libcap and the "setcap" utility you can avoid
+For Linux systems that have libcap and the "setcap" utility you can
+avoid root altogether:
# groupadd -g packetcapture
# chmod 750 /usr/bin/dumpcap
# chgrp packetcapture /usr/bin/dumpcap
# setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap
+For Linux systems without filesystem capabilities you can limit root
+# groupadd -g packetcapture
+# chgrp packetcapture /usr/bin/dumpcap
+# chmod 4750 /usr/bin/dumpcap
Custom version information can be added by creating a file called
@@ -81,7 +88,8 @@ defined as a string. If you need a numeric definition, let us know.
-Wireshark and the "fin" logo are registered trademarks of Gerald Combs.
+Wireshark and the "fin" logo are registered trademarks of the Wireshark