From owner-freebsd-questions Tue Nov 16 5:47:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from engmail.uwaterloo.ca (engmail.uwaterloo.ca [129.97.50.62]) by hub.freebsd.org (Postfix) with ESMTP id 3622014C8B for ; Tue, 16 Nov 1999 05:47:29 -0800 (PST) (envelope-from bruce@engmail.uwaterloo.ca) Received: from mantis.uwaterloo.ca (bruce@mantis [129.97.50.197]) by engmail.uwaterloo.ca (8.9.3/8.9.3) with ESMTP id IAA03371; Tue, 16 Nov 1999 08:47:19 -0500 (EST) (envelope-from bruce@engmail.uwaterloo.ca) Date: Tue, 16 Nov 1999 08:47:19 -0500 (Eastern Standard Time) From: Bruce Campbell To: Sheldon Hearn Cc: freebsd-questions@FreeBSD.ORG Subject: Re: run away "more" processes with /bin/sh on FreeBSD 3.3 In-Reply-To: <55594.942745092@axl.noc.iafrica.com> Message-ID: X-X-Sender: bruce@engmail.uwaterloo.ca MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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