-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能否通过setcap添加capabilities在普通用户下执行 #48
Comments
Hi kdurov, 感谢您的反馈,这确实是一个权限验证逻辑上的 Bug 不过我手里的测试样本可能不足以证明能在所有的环境中都能正常工作,也请您帮忙验证一下。 Thanks! Best Regards, |
如无其他问题,此 issue 将被关闭,如果仍有疑问请另提新 issue |
谢谢。 |
macOS 下没有 setcap。 |
对于 macOS (Darwin) 来说,权限设计是更为严格的。可惜目前 macOS 并没有能够达到 setcap 相似功能的指令集,NextTrace 的 网上也有很多关于这方面的讨论,目前对于 macOS 来说,只能通过 sudo 或者以 root 用户运行。
Thanks. |
感谢指教。 看来只能通过 alias 配合 visudo 简化命令了。 |
…rodaine/table-1.2.0 chore(deps): bump github.com/rodaine/table from 1.1.1 to 1.2.0
sudo setcap cap_net_raw,cap_net_admin+eip ~/.bin/nexttrace
添加后还是会提示需要 root 权限。
能否让普通用户也能执行呢?
谢谢
The text was updated successfully, but these errors were encountered: