don’t mix sudo and pipes, that will not work. Become root first and the write the value to ptrac_scope:
$ sudo su -$ echo 0 > /proc/sys/kernel/yama/ptrace_scopePermission denied
最新推荐文章于 2025-03-15 23:32:34 发布
本文介绍了一种避免在管道中混合使用sudo的方法,并提供了一个具体的步骤来更改ptrace_scope的值。首先成为root用户,然后将所需的值写入到/proc/sys/kernel/yama/ptrace_scope。
1万+

被折叠的 条评论
为什么被折叠?



