Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 1997 19:02:50 -0400 (EDT)
From:      Patrick McConnell <patrick@interlog.com>
To:        scot@poptart.org
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Kernel panics when the root directory is executed
Message-ID:  <Pine.BSI.3.96.970913185504.333A-100000@patrick.interlog.com>
In-Reply-To: <Pine.BSF.3.96.970913234106.6304A-100000@homer.duff-beer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> > <directory>: 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.96.970913185504.333A-100000>