Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 1999 08:47:19 -0500 (Eastern Standard Time)
From:      Bruce Campbell <bruce@engmail.uwaterloo.ca>
To:        Sheldon Hearn <sheldonh@uunet.co.za>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: run away "more" processes with /bin/sh on FreeBSD 3.3 
Message-ID:  <Pine.WNT.4.10.9911160828150.-938113@mantis.uwaterloo.ca>
In-Reply-To: <55594.942745092@axl.noc.iafrica.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Nov 1999, Sheldon Hearn wrote:
> 
> 
> On Mon, 15 Nov 1999 16:24:32 EST, Bruce Campbell wrote:
> 
> > - from root, kill the "telnetd" process of the user.
> 
> What happens if you kill the shell process of the user instead?

I just tried that now, and the effect was the same, "more" started eating
CPU. Killing the shell also had the side effect of killing the parent
telnetd at the same time.

When tested with login shell of /bin/csh, or on FreeBSD 3.1 with any
shell, killing the telnetd results in all child processes attached to the
terminal dying.

I just removed "mail" from the loop.  I ran

  more /etc/hosts

(or any file over 25 lines), killed the parent /bin/sh, and "more" went to
the top of "top".  Also tried 2 other programs that read input : "cat" and
"telnet" instead of "more", and "no problem".

Thanks for your interest in this problem.  I sure hope we haven't done
something silly to cause this.

------------------------------------------------------------------------------
Bruce Campbell
Engineering Computing
CPH-2374 University of Waterloo
(519) 885-1211  ext 5889



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.WNT.4.10.9911160828150.-938113>