I recently installed Wireshark for Ubuntu on VMware Player. I had a problem with the interface, but that was solved when I ran Wireshark as root using sudo. I heard that was bad. How do I run it as a user with the interfaces appearing? I also get the below error when I decide to write it to a file. Any idea how to resolve this?
asked 07 Jan '13, 21:02 dalawh edited 07 Jan '13, 21:02 |
One Answer:
See Capture Privileges wiki page for this. The error comes from you forcing su root. This is a protective measure. answered 07 Jan '13, 23:09 Jaap ♦ |
I'm looking at: http://anonscm.debian.org/viewvc/collab-maint/ext-maint/wireshark/trunk/debian/README.Debian?view=markup
Is there a tutorial on this?
There is info on doing it manually yourself on the page Jaap linked to above. See the section headed "Setting network privileges for dumpcap".
@grahamb Thanks. I used "sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap" and everything started working.
If Jaaps original answer helped (albeit with my little prompt) can you "accept" the answer (by clicking the checkmark icon next to it) for the benefit of others who may have the same issue.