ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-users: Re: [Wireshark-users] USB sniffing / packet size

From: Karthik Balaguru <karthikbalaguru79@xxxxxxxxx>
Date: Sat, 23 Jan 2010 21:49:02 +0530
On Fri, Jan 22, 2010 at 11:41 AM, Stephen Fisher wrote:
>
> On Jan 21, 2010, at 6:25 PM, Yuval Levy wrote:
>
>> I start wireshark from a Konsole window and run it as root (the only way I
>> found to give it access to the interfaces).
>
> See: http://wiki.wireshark.org/Development/PrivilegeSeparation
>

Interesting link :-)

> Typically, you just need to set dumpcap to be setuid root and then it will drop privileges when done opening the interfaces.  Wireshark/tshark running as a normal user will then communicate with dumpcap running as root (and then back to your username too).
>

Karthik Balaguru