如何修复 Linux 上 Wireshark "Couldn't run /usr/bin/dumpcap in child process: Permission denied"
如果你在 Wireshark 中看到类似这样的错误消息:

这是因为你当前的用户没有权限从你的网卡捕获数据包。
即使在 Wireshark 安装过程中你已选择允许普通用户捕获数据包,也可能出现这种情况。这是因为该设置只在注销并重新登录后(或重启后)生效。
要在不注销的情况下临时修复此问题,以 root 身份运行 Wireshark:sudo wireshark
为了永久修复此问题,确保你的用户被添加到 wireshark 组:
add-user-wireshark.sh
sudo usermod -a -G wireshark $USER然后注销并重新登录(或重启你的计算机)。
Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow