From owner-freebsd-chat Tue Oct 10 19:27:19 2000 Delivered-To: freebsd-chat@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 5585337B503 for ; Tue, 10 Oct 2000 19:27:18 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Tue, 10 Oct 2000 19:26:00 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id e9B2RFK00881 for chat@freebsd.org; Tue, 10 Oct 2000 19:27:15 -0700 (PDT) (envelope-from cjc) Date: Tue, 10 Oct 2000 19:27:10 -0700 From: "Crist J . Clark" To: chat@freebsd.org Subject: Self-DOS Message-ID: <20001010192710.E25121@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Here is a really fun way to DOS yourself. I wanted to run a process at reduced priority in the background, so I did, # nice -20 program args & At which point everything on the box just seemed to die. I got no prompt back. I could do the username an password on vty's, but again, no shell prompt would appear. A network login would establish the TCP connection and just hang. I could ping, hellava lotta good that does me. I eventually realized what I had done. I was using /usr/bin/nice syntax, but I had been in csh. In csh with its builtin nice, the above is interpreted as run program at a nice of '-20,' that is at a _rasied_ priority. I had effectively told the system to give the program every single damn clock cycle. The thing is, I ended up *cringe* hitting the reset button. I could not find a way to get in there to kill the program. I crossed my fingers (then uncrossed them) and did the three-finger M$ salute, but that did not even do it (and it's not disabled). The box came up fine, just a few extra seconds to do the fsck, but can anyone out there tell me how I could have recovered from this without the drastic measures I ended up taking? Thanks. Oh, and don't laugh too hard. I can't be the first to have done this. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message