/proc/sys/kernel/yama/ptrace_scope keeps resetting to 1
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
Running Xubuntu 16.04.1 LTS 64-bit.
/proc/sys/kernel/yama/ptrace_scope keeps resetting to 1 if I reboot, despite me changing it to 0 manually. How can I keep ptrace_scope set to a value of 0?
kernel wine
add a comment |Â
up vote
3
down vote
favorite
Running Xubuntu 16.04.1 LTS 64-bit.
/proc/sys/kernel/yama/ptrace_scope keeps resetting to 1 if I reboot, despite me changing it to 0 manually. How can I keep ptrace_scope set to a value of 0?
kernel wine
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
Running Xubuntu 16.04.1 LTS 64-bit.
/proc/sys/kernel/yama/ptrace_scope keeps resetting to 1 if I reboot, despite me changing it to 0 manually. How can I keep ptrace_scope set to a value of 0?
kernel wine
Running Xubuntu 16.04.1 LTS 64-bit.
/proc/sys/kernel/yama/ptrace_scope keeps resetting to 1 if I reboot, despite me changing it to 0 manually. How can I keep ptrace_scope set to a value of 0?
kernel wine
kernel wine
asked Dec 10 '16 at 23:19
Aaron Franke
3591315
3591315
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
5
down vote
accepted
/proc values are stored in RAM so it isn't persistent. But it read its initial values from a file. You can permanently change the value of /proc/sys/kernel/yama/ptrace_scope to 0 by editing the file /etc/sysctl.d/10-ptrace.conf
and change the line:
kernel.yama.ptrace_scope = 1
To
kernel.yama.ptrace_scope = 0
Is any security risk attached to setting this permanently?
â Philipp Ludwig
Jun 25 at 18:59
Yes, there is some risks. You can view this post for more details [askubuntu.com/questions/146160/â¦
â Dababi
Jul 2 at 8:41
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
/proc values are stored in RAM so it isn't persistent. But it read its initial values from a file. You can permanently change the value of /proc/sys/kernel/yama/ptrace_scope to 0 by editing the file /etc/sysctl.d/10-ptrace.conf
and change the line:
kernel.yama.ptrace_scope = 1
To
kernel.yama.ptrace_scope = 0
Is any security risk attached to setting this permanently?
â Philipp Ludwig
Jun 25 at 18:59
Yes, there is some risks. You can view this post for more details [askubuntu.com/questions/146160/â¦
â Dababi
Jul 2 at 8:41
add a comment |Â
up vote
5
down vote
accepted
/proc values are stored in RAM so it isn't persistent. But it read its initial values from a file. You can permanently change the value of /proc/sys/kernel/yama/ptrace_scope to 0 by editing the file /etc/sysctl.d/10-ptrace.conf
and change the line:
kernel.yama.ptrace_scope = 1
To
kernel.yama.ptrace_scope = 0
Is any security risk attached to setting this permanently?
â Philipp Ludwig
Jun 25 at 18:59
Yes, there is some risks. You can view this post for more details [askubuntu.com/questions/146160/â¦
â Dababi
Jul 2 at 8:41
add a comment |Â
up vote
5
down vote
accepted
up vote
5
down vote
accepted
/proc values are stored in RAM so it isn't persistent. But it read its initial values from a file. You can permanently change the value of /proc/sys/kernel/yama/ptrace_scope to 0 by editing the file /etc/sysctl.d/10-ptrace.conf
and change the line:
kernel.yama.ptrace_scope = 1
To
kernel.yama.ptrace_scope = 0
/proc values are stored in RAM so it isn't persistent. But it read its initial values from a file. You can permanently change the value of /proc/sys/kernel/yama/ptrace_scope to 0 by editing the file /etc/sysctl.d/10-ptrace.conf
and change the line:
kernel.yama.ptrace_scope = 1
To
kernel.yama.ptrace_scope = 0
answered Dec 10 '16 at 23:28
Dababi
2,056916
2,056916
Is any security risk attached to setting this permanently?
â Philipp Ludwig
Jun 25 at 18:59
Yes, there is some risks. You can view this post for more details [askubuntu.com/questions/146160/â¦
â Dababi
Jul 2 at 8:41
add a comment |Â
Is any security risk attached to setting this permanently?
â Philipp Ludwig
Jun 25 at 18:59
Yes, there is some risks. You can view this post for more details [askubuntu.com/questions/146160/â¦
â Dababi
Jul 2 at 8:41
Is any security risk attached to setting this permanently?
â Philipp Ludwig
Jun 25 at 18:59
Is any security risk attached to setting this permanently?
â Philipp Ludwig
Jun 25 at 18:59
Yes, there is some risks. You can view this post for more details [askubuntu.com/questions/146160/â¦
â Dababi
Jul 2 at 8:41
Yes, there is some risks. You can view this post for more details [askubuntu.com/questions/146160/â¦
â Dababi
Jul 2 at 8:41
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f329504%2fproc-sys-kernel-yama-ptrace-scope-keeps-resetting-to-1%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password