Wednesday, November 13, 2013

Wireshark with root privileges

On my Ubuntu 12.04 box I wanted to be able to capture packets with Wireshark using my standard login.  To do this as a standard user simply complete the following steps.

From the terminal

  1. sudo dpkg-reconfigure wireshark-common
  2. select yes to the question "Should non-superusers be able to capture packets?"
  3. sudo adduser $USER wireshark
From the gui
  1. logout

Once you login you should be able to capture packets with Wireshark.