运行以下命令时出现错误:
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/tcpdump*
这提供了以下错误:
Failed to set capabilities on file `/usr/bin/tcpdump' (Invalid argument) The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
到目前为止,我还没有找到任何解决方案 - 并且非常感谢任何可以提供或帮助我找到解决方案的人。
最佳答案
base Debian package for tcpdump
, as does the Ubuntu one , 显示可执行文件实际驻留在 /usr/sbin/tcpdump
, 而不是 /usr/bin/tcpdump
.
关于ubuntu - TCPDUMP 安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42755095/