转自 http://j4s0nh4ck.iteye.com/blog/2242640

Linux中 Wireshark出现无法抓包,显示权限不足的状况

Wireshark:Couldn't run /usr/bin/dumpcap in child process: Permission denied, You don't have permissi

按照指示,执行

sudo dpkg-reconfigure wireshark-common

并且选择yes

Wireshark:Couldn't run /usr/bin/dumpcap in child process: Permission denied, You don't have permissi

仍然显示

Wireshark:Couldn't run /usr/bin/dumpcap in child process: Permission denied, You don't have permissi

执行下列命令

> sudo apt-get install libcap2-bin wireshark
> sudo chgrp yourUsername /usr/bin/dumpcap
> sudo chmod 750 /usr/bin/dumpcap
> sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap

可以进行抓包

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
  • 2021-09-27
  • 2021-09-21
  • 2021-10-22
  • 2022-02-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-29
  • 2022-03-05
  • 2022-12-23
  • 2021-08-15
  • 2021-10-14
相关资源
相似解决方案