Ask Your Question

Wireshark is telling me to run this comand "sudo usermod -a -G wireshark {your username}". What username does it mean?

asked 2021-02-02 12:13:24 +0000

Jedrzej gravatar image

I'm installing wireshark on my Ubuntu PC version 20 and it says I need to:

check to make sure you have sufficient permissions

So I run

sudo dpkg-reconfigure wireshark-common

Than I accepted. But now I don't know what to do next.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-02-02 13:17:08 +0000

grahamb gravatar image

The command sudo usermod -a -G wireshark {your username} adds the account with {your username} to the wireshark group which has permission to capture on interfaces without requiring sudo.

So replace {your username} with the name of your account, i.e. the output of whoami, i.e. for me, with account grahamb it would be: sudo usermod -a -G wireshark grahamb

edit flag offensive delete link more


This was my output once running the command with the right username. "usermod: user '{jonathan}' does not exist". And wireshark still said I don't have the right permissions.

Jedrzej gravatar imageJedrzej ( 2021-02-05 09:50:51 +0000 )edit

The curly braces are not meant to be included, they are part of the placeholder in the example. In your case you should enter sudo usermod -a -G wireshark jonathon.

grahamb gravatar imagegrahamb ( 2021-02-05 09:56:57 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2021-02-02 12:13:24 +0000

Seen: 1,236 times

Last updated: Feb 02 '21