From owner-freebsd-questions Fri Jun 22 9:14:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail11.sdc1.sfba.home.com (femail11.sdc1.sfba.home.com [24.0.95.107]) by hub.freebsd.org (Postfix) with ESMTP id 1749F37B408 for ; Fri, 22 Jun 2001 09:14:49 -0700 (PDT) (envelope-from stephen@math.missouri.edu) Received: from math.missouri.edu ([24.12.197.197]) by femail11.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010622161443.NRKO27306.femail11.sdc1.sfba.home.com@math.missouri.edu> for ; Fri, 22 Jun 2001 09:14:43 -0700 Message-ID: <3B336EF3.7CF2E093@math.missouri.edu> Date: Fri, 22 Jun 2001 11:14:43 -0500 From: Stephen Montgomery-Smith X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: Kernel Panic References: <200106221156.AA442106040@stmail.pace.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I wrote a little program called loop that was !/bin/sh ./loop I had heard that this kind of script would cause the computer to crash, but I have tried this and other such scripts, and been rather disappointed in that all it does is to tie up computer resources so that it appears to freeze. Eventually the loop runs out of space, and the program exits cleanly. Now this program: !/bin/csh while 1 ./loop & end really ties up the computer resources. All good innocent fun. I hear that you can edit /etc/login.conf to stop users from doing this. Jonathan Slivko wrote: > > I think I see what caused the kernel to crash. What happened was > this, I believe, is that since I didn't specify the regular pine > binary, the script just loaded itself, thus throwing it into a > loop. It's really a sad situation. -- Jonathan > -- Stephen Montgomery-Smith stephen@math.missouri.edu http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message