From owner-freebsd-questions Fri Dec 21 14:33:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by hub.freebsd.org (Postfix) with ESMTP id 3AA2F37B41B for ; Fri, 21 Dec 2001 14:33:43 -0800 (PST) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.10.2+Sun/8.10.2) id fBLMXZ223996; Fri, 21 Dec 2001 17:33:35 -0500 (EST) From: Jerry McAllister Message-Id: <200112212233.fBLMXZ223996@clunix.cl.msu.edu> Subject: Re: kill -9 -1 To: setantae@submonkey.net (Ceri) Date: Fri, 21 Dec 2001 17:33:35 -0500 (EST) Cc: freebsd-questions@freebsd.org In-Reply-To: <20011221222202.GA2098@rhadamanth> from "Ceri" at Dec 21, 2001 10:22:02 PM X-Mailer: ELM [version 2.5 PL2] 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 Hmmm --- > > On Fri, Dec 21, 2001 at 10:06:19PM +0200, Nimrod Mesika wrote: > > On Fri, Dec 21, 2001 at 07:44:17PM +0000, Ceri wrote: > > > On Fri, Dec 21, 2001 at 08:56:49PM +0200, Nimrod Mesika wrote: > > > > > > > So I typed at the bash prompt (as a normal user, not root): > > > > > > > > $kill -9 -1 > > > > > > > > And my system died. > > > > > > > > Can anyone confirm/explain this phenomena? (this is on a fairly > > > > recent -stable). > > > > > > >From the manpage for kill : > > > > > > The following pids have special meanings: > > > -1 If superuser, broadcast the signal to all processes; otherwise > > > broadcast to all processes belonging to the user. > > > > Thanks. I did read the manpage before writing this message and the > > above description does not explain the phenomena I have described. > > Are you sure ? > Kill 9'ing every process on the system would be reasonably expected to cause > death. But, not as a normal user. A non-root user should NOT be able to kill init. Something is wrong here. Either he was really root or there is a giant hole waiting for all to fall in. ////jerry > > Ceri > > -- > keep a mild groove on > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message