Re: Preventing Forkbombs

2003-11-15 Thread Karsten M. Self
on Wed, Nov 12, 2003 at 02:56:37PM -0800, Tom ([EMAIL PROTECTED]) wrote: > How does one prevent a non-root user from locking up the system with: > > perl -e "while(1){fork}" > > System seems to become utterly unresponsive. (It's a loaded question, I > know.) Please no answers like: "don't do t

Re: Preventing Forkbombs

2003-11-12 Thread Jeremy T. Bouse
Unilateral toltarian rule of the system ulimits... Set the max for the system and the user can set it higher than that... This will just make the forkbomb seg fault when it's hit the limit... Regards, Jeremy On Wed, Nov 12, 2003 at 02:56:37PM -0800, Tom wrote: > How does o

Re: Preventing Forkbombs

2003-11-12 Thread Mark Ferlatte
Florian Ernst said on Thu, Nov 13, 2003 at 12:39:58AM +0100: > Hello Tom! > > On Wed, Nov 12, 2003 at 02:56:37PM -0800, Tom wrote: > >How does one prevent a non-root user from locking up the system with: > > > >perl -e "while(1){fork}" > > > >System seems to become utterly unresponsive. (It's a l

Re: Preventing Forkbombs

2003-11-12 Thread Florian Ernst
Hello Tom! On Wed, Nov 12, 2003 at 02:56:37PM -0800, Tom wrote: How does one prevent a non-root user from locking up the system with: perl -e "while(1){fork}" System seems to become utterly unresponsive. (It's a loaded question, I know.) Please no answers like: "don't do that" or "working by