Skip to content

Instantly share code, notes, and snippets.

@ahoarau
Last active December 4, 2017 10:51
Show Gist options
  • Save ahoarau/9491b1c12a9982e9e277 to your computer and use it in GitHub Desktop.
Save ahoarau/9491b1c12a9982e9e277 to your computer and use it in GitHub Desktop.
Install wireshark on Ubuntu 12.04 - 14.04 - 16.04 (fix non root users)
sudo apt-get install -y wireshark
sudo dpkg-reconfigure wireshark-common # answer yes
sudo groupadd wireshark
sudo usermod -a -G wireshark $USER
sudo chgrp wireshark /usr/bin/dumpcap
sudo chmod 750 /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
sudo getcap /usr/bin/dumpcap
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment