aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2010-04-07 17:13:28 +0000
committerGerald Combs <gerald@wireshark.org>2010-04-07 17:13:28 +0000
commitf05520099cf12009799997ea35637f8c7f3818ce (patch)
treea120f30e5eee8d5af9b11afce417412bf851e975
parent9ade30a7b1683f247ae2fb40cecd07e745d0cb6c (diff)
Add a setuid example.
svn path=/trunk/; revision=32418
-rw-r--r--doc/README.packaging14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/README.packaging b/doc/README.packaging
index 15c500adf9..b3f42e1a40 100644
--- a/doc/README.packaging
+++ b/doc/README.packaging
@@ -59,14 +59,21 @@ capabilities library (on which it depends) is found.
Warnings are displayed when Wireshark and TShark are run
as root.
-For systems that have libcap and the "setcap" utility you can avoid
-root altogether:
+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
+to dumpcap:
+
+# groupadd -g packetcapture
+# chgrp packetcapture /usr/bin/dumpcap
+# chmod 4750 /usr/bin/dumpcap
+
4. Customization.
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.
5. Trademarks.
-Wireshark and the "fin" logo are registered trademarks of Gerald Combs.
+Wireshark and the "fin" logo are registered trademarks of the Wireshark
+Foundation.
6. Spelling.