<<< Date Index >>>     <<< Thread Index >>>

Re: Linux Kernel 2.6.x PRCTL Core Dump Handling -- Simple workaround



On Fri, 14 Jul 2006, Caveo Internet BV - Security wrote:

The most easy way to stop this vulnerability is this by sepcifying the core
dump location

echo /root/core > /proc/sys/kernel/core_pattern

This specifies /root as core dump location which makes it unavailable for
the local user.

Better solution add  line to /etc/limits.conf

*               hard    core    0

and set pam_limits in pam services.

--
*[ Łukasz Trąbiński ]*
SysAdmin @wsisiz.edu.pl