[CentOS] Regarding fork bomb in a CentOS 4.4 Server!

Jim Perrin jperrin at gmail.com
Tue Apr 24 18:49:25 UTC 2007


On 4/24/07, israel.garcia at cimex.com.cu <israel.garcia at cimex.com.cu> wrote:
> Hi again, I was reading from the net
> http://www.kriptopolis.org/node/4067 about a forkbomb and ran it from a
> root console  in a non-critical machine running CentOS4.4 and the serevr
> goes down... the command I ran was :(){ :|:& };:
>
> Please, does anyone knows how to aboid this on  CentOS?

Sure. Set process limits on your users. Check out
/etc/security/limits.conf and salt the values to taste.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell



More information about the CentOS mailing list