I quicker way to take down a machine is this:
# dd if=/dev/random of=/dev/port bs=1M count=2
Should take a little less than a second to kernel panic your machine.
As Jim mentioned, have a look at limits.conf to help fix your fork bomb problem...just don't set it too low!!
(if someone has root access, they have *several* ways to take down your machine, including 'reboot', and 'shutdown'...)
Cheers, Mike
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of israel.garcia@cimex.com.cu Sent: April 24, 2007 3:26 PM To: centos@centos.org Subject: [CentOS] Regarding fork bomb in a CentOS 4.4 Server!
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?
regards, Israel
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos