From owner-freebsd-isp Sat Sep 13 16:03:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA04786 for isp-outgoing; Sat, 13 Sep 1997 16:03:50 -0700 (PDT) Received: from patrick.interlog.com (patrick.interlog.com [206.108.68.58]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA04781 for ; Sat, 13 Sep 1997 16:03:45 -0700 (PDT) Received: from localhost (patrick@localhost) by patrick.interlog.com (8.8.5/8.8.5) with SMTP id TAA00355; Sat, 13 Sep 1997 19:02:51 -0400 (EDT) X-Authentication-Warning: patrick.interlog.com: patrick owned process doing -bs Date: Sat, 13 Sep 1997 19:02:50 -0400 (EDT) From: Patrick McConnell To: scot@poptart.org cc: freebsd-isp@FreeBSD.ORG Subject: Re: Kernel panics when the root directory is executed In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I'm using Bash 2.00.0(1), and when I try to execute / (as non-root), I get bash: /: is a directory Maybe your problem can be solved by upgrading Bash. Patrick On Sat, 13 Sep 1997 scot@poptart.org wrote: > Yeah.. it only appears to happen with bash-2. But the point is that > the kernel should not attempt to execute a directory, even if a shell > sends the exec call one. > > Scot. > > ----------------------------------------------------------------------------- > Scot Elliott scot@poptart.org Tel: +44 (0)181 9322042 > ----------------------------------------------------------------------------- > Public key available by finger at: finger scot@poptart.org > or at: http://www.poptart.org/pgpkey.html > > > On Sun, 14 Sep 1997 andrew@ugh.net.au wrote: > > > On Sat, 13 Sep 1997, Scot Elliott wrote: > > > > > This is quite scary, because we have users on this machine with no root > > > access, but they're able to halt our machine whenever they want to. I > > > guess this would be very scary for an ISP offering shell accounts. > > > > I dont have thish problem (not running bash though). tcsh just says > > : Permission denied. > > > > > FreeBSD Billy.poptart.org 2.2-STABLE FreeBSD 2.2-STABLE #0: Sat Aug 2 00:17:32 > > > BST 1997 scot@Billy.poptart.org:/usr/src/sys/compile/IDE i386 > > > > My stable was only built 10 days after yours... > > > > Andrew > > > > > -- Patrick McConnell (patrick@interlog.com) "640k ought to be enough for anybody." -Bill Gates, 1981