Comment 6 for bug 513903

Revision history for this message
Martin Lindhe (martinlindhe) wrote : Re: [Bug 513903] Re: Must be run as root, which is not secure

On 2010-04-27 12:08, Brian Rogers wrote:
> The change is in Lucid now, but I don't see what to do to enable packet
> capture as a user. There's no group named 'wireshark'.

for a single-user system you can give the "dumpcap" program (which is
what wireshark uses to capture network traffic) the rights to read
network traffic using this command:

sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap

this should work on lucid without the need to create a group