您的位置:首页 > 其它

关于Wireshark出现:Couldn't run /usr/sbin/dumpcap in child process: Permission denied Are you a member o

2016-02-28 10:47 309 查看

关于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 用户注销,然后重新登录,此问题就解决了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  wireshark