2011-03-19 16:26:32 -06:00
|
|
|
#!/bin/sh
|
2011-03-19 17:54:11 -06:00
|
|
|
echo "Setting required kernel parameters."
|
2011-03-19 19:06:50 -06:00
|
|
|
# I actually do it three times, hoping to hammer this into Ubuntu's dense skull.
|
2011-03-19 16:26:32 -06:00
|
|
|
sysctl -w kernel.randomize_va_space=0
|
2011-03-19 17:54:11 -06:00
|
|
|
sysctl -w kernel.yama.ptrace_scope=0
|
2011-03-19 19:06:50 -06:00
|
|
|
echo "kernel.randomize_va_space=0" >> /etc/sysctl.conf
|
|
|
|
echo "kernel.yama.ptrace_scope=0" >> /etc/sysctl.conf
|