Ask Your Question

Okay, so I am having trouble with it on Linux. [closed]

asked 2021-08-03 07:44:49 +0000

ALT gravatar image

I have been fairly bad with this techy stuff, and I don't understand some of it. So, pretty much, I got to running it with Super User thingy enabled, but it didn't work. I look it up and got the answer that I need to run one extra command. It is "sudo adduser USERNAME wireshark" And when I do, it says "The group Wireshark is already exists. I tried the command without the Wireshark but it says "Only one or two names allowed." What do I do?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ALT
close date 2021-08-05 08:00:28.860703


It would help immensely if you gave some info about your environment, e.g. which Linux distribution and Wireshark version.

grahamb gravatar imagegrahamb ( 2021-08-04 08:17:06 +0000 )edit

I do not know what you mean by Linux distribution, but I believe that the version is the newest one.

ALT gravatar imageALT ( 2021-08-04 09:10:32 +0000 )edit

I also use it on a Chromebook.

ALT gravatar imageALT ( 2021-08-04 09:11:24 +0000 )edit

Are you using a distribution such as Ubuntu, Debian, Redhat etc.? You can copy and paste the info from the Wireshark menu item; Help -> About Wireshark -> Wireshark dialog that will give us some of the helpful info.

grahamb gravatar imagegrahamb ( 2021-08-04 10:19:45 +0000 )edit

Ubuntu I think.

ALT gravatar imageALT ( 2021-08-04 16:39:22 +0000 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2021-08-04 07:49:03 +0000

BigFatCat gravatar image

Your username is not a member of the user group that has permission to run dumpcap. Determine which user-groups that can run dumpcap and then add your username to that group. Dumpcap is needed to capture packets.

edit flag offensive delete link more


How do I do that?

ALT gravatar imageALT ( 2021-08-04 09:08:05 +0000 )edit

answered 2021-08-03 12:35:21 +0000

hugo.vanderkooij gravatar image

updated 2021-08-03 12:36:11 +0000

To be honest. I am not sure what you try to accomplish here. But it seems that you interpreted USERNAME as a literal text where it should be your user name with which you login.

Better would be to add your user to the wireshark group that allready exists. But these are sysadmin tasks that you should delegate to your sysadmin. And an article like might help you out as well.

edit flag offensive delete link more


Nope, I don't. I put in my username, I just used USERNAME instead since my username is my IRL name. I realize now I should elaborate. When I try running Wireshark, it says "Couldn't run /usr/bin/dumpcap in child process: Permission denied" and I kinda just need help with that at this point.

ALT gravatar imageALT ( 2021-08-04 06:50:06 +0000 )edit

answered 2021-08-03 13:39:47 +0000

Jaap gravatar image

Here is the source of this information. Read carefully item I./b.

edit flag offensive delete link more

Question Tools


Asked: 2021-08-03 07:44:49 +0000

Seen: 111 times

Last updated: Aug 04