Ubuntu Wireshark permission问题

Ubuntu16.04中使用Wireshark 打开之后会出现如下问题

The capture session could not be initiated on interface ‘ens33’ (You don’t have permission to capture on that device).
Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified

这里写图片描述

解决办法

sudo groupadd wireshark
sudo chgrp wireshark /usr/bin/dumpcap
sudo chmod 4755 /usr/bin/dumpcap
sudo gpasswd -a xhz wireshark

这里写图片描述
之后就可以愉快的抓包了
这里写图片描述


版权声明:本文为AsNeverBefore原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。