A standard installation of Wireshark doesn't give the program permission to access the network interface.
I suppose I have to run the program with sudo, but do not know how to add it to the icon - if that's the way to do it.
|
A standard installation of Wireshark doesn't give the program permission to access the network interface. I suppose I have to run the program with |
||||
|
For WireShark there's a better way. The bit that normally needs root is the packet collection application and this can be configured to allow certain people to use it without In a terminal (very important that you're in a terminal, not just the Alt+F2 dialogue) run this:
This will ask you if you want to allow non-root user to be able to sniff. That's what we're aiming for, so select
This adds a If not, run that again and select no. Then you just need to add the user to that group. Run this:
And restart or log out. When you're back in it should let you start sniffing without any fuss about being root. |
|||||||||||||||||||||
|
|
You can also run Wireshark with root privileges by running Note that there are security concerns with running Wireshark in this mode, namely that any exploit that compromises Wireshark now has root privileges rather than user privileges. This is more of a concern with Wireshark than other application because, by it's very nature (capturing and processing arbitrary input), Wireshark is more vulnerable to exploits than typical desktop applications. You are probably safe on a SOHO network, but you should be aware of this concern before proceeding. Citations:
|
|||||||||||||||||||||
|
|
Here is another way
|
|||||
|
|
you can try this also, open the terminal, run this command
run wireshark as a non-root user |
||||
|
|
tcpdumptool in Linux ifwiresharkis giving you too much troubles. – warfreak92 Nov 15 '17 at 15:24