Wireshark reinstallation to allow capture for non-root users?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
bluefiresword
Level 1
Level 1
Posts: 1
Joined: Tue Aug 14, 2018 10:56 pm

Wireshark reinstallation to allow capture for non-root users?

Post by bluefiresword » Tue Aug 14, 2018 11:05 pm

Hi,
I installed Wireshark from Software Manager. It asked me for an option that read something like "Do you want to allow capture for non-root users" (I don't remember the exact wordings). I unchecked and continued. Installation finished successfully. But then I changed my mind. I uninstalled and re-installed Wireshark. But this time it did not ask me for that setting. So, I tried following things progressively:
1. Uninstall Wireshark from package manager
2. Uninstall wireshark from command line
3. Uninstall and purge wireshark
4. Uninstall, purge and apt autoremove
5. Uninstall, purge, autoremove and then find and delete every file that had wireshark or dumpcap in it's name from the system.

No matter what I did, upon subsequent installation attempt it doesn't ask me that setting (mentioned at the top) again. I'm curious what gets left behind after such thorough clean-up that prevents that option from popping up.

I need that option again. Please help.

Regards.

firehawk74
Level 1
Level 1
Posts: 3
Joined: Mon Jan 30, 2017 1:41 am

Re: Wireshark reinstallation to allow capture for non-root users?

Post by firehawk74 » Sat Sep 01, 2018 9:38 am

I had the exact same problem, just figured it out.

Run this: sudo dpkg-reconfigure wireshark-common
and select Yes to non-root users.

This will create a wireshark group.

In your start menu open "Users and Groups" and add yourself to the wireshark group by clicking your existing groups and checking 'wireshark' in the dialog which opens.

Then log out and log back in and run Wireshark.

Hope this helps.

User avatar
trytip
Level 8
Level 8
Posts: 2389
Joined: Tue Jul 05, 2016 1:20 pm

Re: Wireshark reinstallation to allow capture for non-root users?

Post by trytip » Sat Sep 01, 2018 12:04 pm

this is what i did:
sudo add-apt-repository ppa:wireshark-dev/stable
apt update
apt install wireshark <<< did NOT check non-root, finish installation
sudo dpkg-reconfigure wireshark-common <<< select yes
sudo usermod -a -G wireshark [username]
loggOFF/IN
Image

Post Reply

Return to “Software & Applications”