Run wireshark as unprivileged user (without root)
If you want to run wireshark without sudo, you will get this error and you couldn't capture traffic:
To fix it, you must run these codes, and later reboot your machine:
sudo groupadd wireshark
sudo usermod -a -G wireshark $USER
sudo chgrp wireshark /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
sudo dpkg-reconfigure wireshark-common
To fix it, you must run these codes, and later reboot your machine:
sudo groupadd wireshark
sudo usermod -a -G wireshark $USER
sudo chgrp wireshark /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
sudo dpkg-reconfigure wireshark-common
Comments
Post a Comment