Category: wireshark

Running Wireshark as non-root on Xubuntu 13.04

After a fresh installation of Wireshark you can’t see any capture interfaces because, by default, dumpcap has to have additional privilegs to run.

Here how to install and configure appropriately wireshark and dumpcap, ‘cesare’ is my username:

sudo su
apt-get install wireshark
groupadd wireshark
usermod -a -G wireshark cesare
chmod 750 /usr/bin/dumpcap
chgrp wireshark /usr/bin/dumpcap
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap

Now you have to logout and login again to make changes effective.

WordPress Themes