Wireshark setup Linux for nonroot user

ou don't need to manually add the "wireshark" group; dpkg-reconfigure does it for you. Try removing the group (and your user from the group), run dpkg-reconfigure, add your user back to the group, and then, re-login. I verified these steps in Mint 12:

$ sudo apt-get install wireshark
$ sudo dpkg-reconfigure wireshark-common 
$ sudo usermod -a -G wireshark $USER
$ gnome-session-quit --logout --no-prompt

Improvement on https://ask.wireshark.org/answer_link/8012/ helloworld's answer

So you dont have to restart gnome, use newgrp to switch groups

$ sudo apt-get install wireshark
$ sudo dpkg-reconfigure wireshark-common 
$ sudo usermod -a -G wireshark $USER
$ newgrp wireshark

 

posted @ 2020-10-28 19:24  shunzhou  阅读(109)  评论(0)    收藏  举报