Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2001 17:33:35 -0500 (EST)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        setantae@submonkey.net (Ceri)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kill -9 -1
Message-ID:  <200112212233.fBLMXZ223996@clunix.cl.msu.edu>
In-Reply-To: <20011221222202.GA2098@rhadamanth> from "Ceri" at Dec 21, 2001 10:22:02 PM

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112212233.fBLMXZ223996>