什么是setcap命令和什么是file capability,也是下面的"setcap“的意思:
CAP_NET_RAW+eip CAP_NET_ADMIN+eip "/usr/bin/dumpcap"发布于 2014-04-25 20:53:30
在您提供的链接中,将Wireshark作为非根用户使用setcap嗅探,因为默认情况下,对网络接口的原始访问(例如eth0)需要根权限,使用根权限运行它是个坏主意。
setcap文件功能
手册页链接
检查文件系统功能手册页
CAP_NET_ADMIN - Allow various network-related operations (e.g., setting privileged socket options, enabling multicasting, interface configuration, modifying routing tables).
CAP_NET_RAW - Permit use of RAW and PACKET sockets.有关更多信息,站点
https://askubuntu.com/questions/455478
复制相似问题