2014-11-13 22:00:51 +01:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Add your users to the wireshark group and allow them to capture network data
|
|
|
|
# as non-root users.
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
getent group wireshark >/dev/null || groupadd -r wireshark
|
|
|
|
|
|
|
|
chgrp wireshark /usr/bin/dumpcap
|
2014-11-14 20:16:10 +01:00
|
|
|
chmod 754 /usr/bin/dumpcap
|
2014-11-13 22:00:51 +01:00
|
|
|
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
|