[2450] in bugtraq

home help back first fref pref prev next nref lref last post

Re: fork()

daemon@ATHENA.MIT.EDU (Nathan Lawson)
Tue Dec 12 14:07:33 1995

Date:         Mon, 11 Dec 1995 11:59:44 -0800
Reply-To: Bugtraq List <BUGTRAQ@crimelab.com>
From: Nathan Lawson <nlawson@statler.csc.calpoly.edu>
X-To:         BUGTRAQ@CRIMELAB.COM
To: Multiple recipients of list BUGTRAQ <BUGTRAQ@crimelab.com>
In-Reply-To:  <Pine.SOL.3.91.951210104255.28802A-100000@clark.net> from "Alex
              Leipold" at Dec 10, 95 10:45:37 am

> O'm new to the list, so Im not sure if this has been covered, but someone
> can crash any system with a few lines of code. (tested on UNIX, LINUX)
>
> Gcc it, run it and whatever system your on will crash. Is their any way
> to stop users from doing this? I.e. restricting number of process that
> can run?

Try changing the setrlimit() in login.  In particular, I think you might want
to set RLIMIT_NPROC to something small like 60.  That way, any programs spawned
by login (and its child shells) will have that hard limit.

-Nate

home help back first fref pref prev next nref lref last post