[Linux] Ubuntu installation Wireshark

Source: Internet
Author: User

Wireshark is a very popular protocol analysis software. Naturally you can grab the packet on the net.

sudo apt-get install Wireshark

For security reasons, ordinary users can not open the network card device to grab the packet, Wireshark does not recommend that the user through sudo under root privileges to run,

Wireshark provides a non-root solution for users of Ubuntu (Debian).

(Detailed explanation can be consulted:/usr/share/doc/wireshark-common/readme. Debian)


Specific steps:

sudo dpkg-reconfigure Wireshark-common "should Non-superusers is able to capturepackages?"

Select Yes(default is no)

The Wireshark group appears in Group Policy, and no users belong to the group by default, just add a specific user to the group (you need to log off and log back in for the setting to take effect)

You can run Wireshark real-time capture network packets with that user


Adding users after the Wireshark group

sudo usermod-a-G wireshark $USER

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.