wireshark_Couldn’t run /usr/sbin/dumpcap in child process: Permission denied

时间:2023-03-09 01:58:42
wireshark_Couldn’t run /usr/sbin/dumpcap in child process: Permission denied

关于Wireshark出现:Couldn’t run /usr/sbin/dumpcap in child process: Permission denied Are you a member of the ‘wireshark’ group? Try running ‘usermod -a -G wireshark your_username’ as root.

我在第一次使用Wireshark时,发现网卡列表为空,当手动输入lo后,开始后出现“ Couldn’t run /usr/sbin/dumpcap in child process: Permission denied Are you a member of the ‘wireshark’ group? Try running ‘usermod -a -G wireshark your_username’ as root.”后,就按上面提示的,直接运行 usermod -a -G wireshark$(whoami) 后,重启wireshark后,发现还是无法使用,在网上查了好久才发现,需要先将当前用户注销,然后再重新登录就可以了。所以解决方法就是:运行 usermod -a -G wireshark $(whoami) ,然后将当前 X window 用户注销,然后重新登录,此问题就解决了。