ubuntu 18.04 安装wireshark

Ubuntu 18.04 安装 wireshark

ubuntu 安装 wireshark,并配置非root用户选取网卡问题。

安装

1
sudo apt install wireshark wireshark-common

问题

非root用户下的wireshark没有抓包权限

解决方法

  1. 以root用户运行
1
sudo wireshark
  1. 配置非root用户抓包

安装完成后,wireshark文档中有相应的处理方法。

1
sudo gzip -d /usr/share/doc/wireshark-common/README.Debian.gz

解压文档后,可以参考操作方法如下:

sudo usermod -a -G wireshark {username}

或者

sudo gpasswd -a your_name wireshark

重新配置抓取权限

sudo dpkg-reconfigure wireshark-common
“Should non-superusers be able to capture packages?”
选择yes(默认是no)

注销用户或重启,再次打开wireshark,正常选取网卡列表。


ubuntu 18.04 安装wireshark
https://ywmy.xyz/2019/04/11/ubuntu-18-04-安装wireshark/
作者
ian
发布于
2019年4月11日
许可协议