From owner-freebsd-questions Mon Jan 20 9:48:12 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D39A37B401 for ; Mon, 20 Jan 2003 09:48:11 -0800 (PST) Received: from the-frontier.org (ns1.the-frontier.org [216.86.199.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8A6143E4A for ; Mon, 20 Jan 2003 09:48:10 -0800 (PST) (envelope-from pscott@skycoast.us) Received: from [192.168.66.249] (dhcp-249-66-168-192.the-frontier.org [192.168.66.249]) by the-frontier.org (8.9.3/8.9.3) with ESMTP id JAA99290; Mon, 20 Jan 2003 09:47:55 -0800 (PST) (envelope-from pscott@skycoast.us) User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Mon, 20 Jan 2003 09:47:55 -0800 Subject: Re: too many kill()'s From: "Paul A. Scott" To: Mike Meyer , Cc: Message-ID: In-Reply-To: <15916.13702.206604.936084@guru.mired.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > It happens because the real parent is gone. That means that init > becomes the parent. But you should not be able to kill process 1 except as root. I haven't tried the code, but if a normal user can bring you to single user mode, that's a serious security flaw. -- Paul A. Scott mailto:pscott@skycoast.us http://skycoast.us/pscott/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message