[2437] in linux-security and linux-alert archive
Re: Problem with red hat 6.1
daemon@ATHENA.MIT.EDU (David Grothe)
Fri Dec 1 08:59:36 2000
Message-ID: <3A266FCE.2301875E@gcom.com>
Date: Thu, 30 Nov 2000 09:18:39 -0600
From: David Grothe <dave@gcom.com>
MIME-Version: 1.0
To: nayakvinod <nayakvinod@hotmail.com>
Cc: linux-alert@redhat.com
Content-Type: multipart/alternative;
boundary="------------AEDC11F88AD1152A758898D4"
Errors-To: linux-alert-admin@redhat.com
--------------AEDC11F88AD1152A758898D4
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 7bit
Here is what I get:
[dave@rh62test tmp]$ mkdir bin
[dave@rh62test tmp]$ cat >bin/hello
hello
[dave@rh62test tmp]$ chmod 755 bin/hello
[dave@rh62test tmp]$ which hello
/usr/bin/which: no hello in
(/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/dave/bin)
[dave@rh62test tmp]$ hello
bash: hello: command not found
[dave@rh62test tmp]$ bin/hello
bin/hello: hello: command not found
[dave@rh62test tmp]$ l bin
total 4
-rwxr-xr-x 1 dave dave 6 Nov 30 09:34 hello
[dave@rh62test tmp]$ ./bin/hello
./bin/hello: hello: command not found
[dave@rh62test tmp]$ uname -a
Linux rh62test 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 i686 unknown
[dave@rh62test tmp]$ cat /etc/issue
Red Hat Linux release 6.2 (Zoot)
Kernel 2.2.14-5.0 on an i686
[dave@rh62test tmp]$
nayakvinod wrote:
> I found a problem, nay a very serious bug in red hat 6.1(kernel
> 2.2.12). I login as an ordinary user and did as follows( in fact I
> wrote a faulty shell program and put it in a directory in PATH): $
> mkdir bin$ cat >bin/hello hello^D$ chmod 0755 bin/hello$ hello This
> system crashed after giving messages like: syslog: Out of
> memory............... init : out of memory First I suspected that the
> problem is in kernel2.2.12. But when I booted RED hat 6.2 with this
> kernel and run the same culprit shell prog, the process terminated
> with the messge:bash: Out of memory! which it should
> do.
> Vinod Nayak
--------------AEDC11F88AD1152A758898D4
Content-Type: text/html; charset=iso-8859-15
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body bgcolor="#FFFFFF">
Here is what I get:
<p>[dave@rh62test tmp]$ mkdir bin
<br>[dave@rh62test tmp]$ cat >bin/hello
<br>hello
<br>[dave@rh62test tmp]$ chmod 755 bin/hello
<br>[dave@rh62test tmp]$ which hello
<br>/usr/bin/which: no hello in (/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/dave/bin)
<br>[dave@rh62test tmp]$ hello
<br>bash: hello: command not found
<br>[dave@rh62test tmp]$ bin/hello
<br>bin/hello: hello: command not found
<br>[dave@rh62test tmp]$ l bin
<br>total 4
<br>-rwxr-xr-x 1 dave dave
6 Nov 30 09:34 hello
<br>[dave@rh62test tmp]$ ./bin/hello
<br>./bin/hello: hello: command not found
<br>[dave@rh62test tmp]$ uname -a
<br>Linux rh62test 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 i686 unknown
<br>[dave@rh62test tmp]$ cat /etc/issue
<p>Red Hat Linux release 6.2 (Zoot)
<br>Kernel 2.2.14-5.0 on an i686
<p>[dave@rh62test tmp]$
<br>
<br>
<p>nayakvinod wrote:
<blockquote TYPE=CITE><style></style>
<font size=-1>I found a problem,
nay a very serious bug in red hat 6.1(kernel 2.2.12).</font> <font size=-1>I
login as an ordinary user and did as follows( in fact I wrote a faulty
shell program and put it in a directory in PATH):</font> <font size=-1>$
mkdir bin</font><font size=-1>$ cat >bin/hello</font><font size=-1> hello</font><font size=-1>^D</font><font size=-1>$
chmod 0755 bin/hello</font><font size=-1>$ hello</font> <font size=-1>This
system crashed after giving messages like:</font> <font size=-1> syslog:
Out of memory</font><font size=-1>....</font><font size=-1>......</font><font size=-1>.....</font> <font size=-1>init
: out of memory</font> <font size=-1>First I suspected that
the problem is in kernel2.2.12. But when I booted RED hat 6.2 with
this kernel and run the same culprit shell prog, the process terminated
with the messge:</font><font size=-1>bash: Out of memory!</font><font size=-1> which
it should do.</font><font size=-1>
Vinod Nayak</font></blockquote>
</body>
</html>
--------------AEDC11F88AD1152A758898D4--
_______________________________________________
Linux-alert mailing list
Linux-alert@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-alert