我是靠谱客的博主 超级耳机,这篇文章主要介绍wireshark: You don‘t have permission to capture on that device,现在分享给大家,希望可以做个参考。
1.问题
Capturing on 'enx00e04c360091'
tshark: The capture session could not be initiated on interface 'enx00e04c360091' (You don't have permission to capture on that device).
Please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified
2.解决
1.创建Wireshark组。这一步在安装Wireshark的时候,也会完成。
# groupadd -g wireshark
# usermod -a -G wireshark <自己的用户名>
# chgrp wireshark /usr/bin/dumpcap
# chmod 4750 /usr/bin/dumpcap
2.赋予权限
# setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
//验证
# getcap /usr/bin/dumpcap
或者
# /usr/bin/dumpcap = cap_net_admin,cap_net_raw+eip
普通用户可以抓bao了
最后
以上就是超级耳机最近收集整理的关于wireshark: You don‘t have permission to capture on that device的全部内容,更多相关wireshark:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复