[4733] in bugtraq

home help back first fref pref prev next nref lref last post

Re: your mail

daemon@ATHENA.MIT.EDU (yeti)
Thu Jun 19 16:47:40 1997

Date: 	Thu, 19 Jun 1997 02:52:07 -0700
Reply-To: yeti <yeti@kuoi.asui.uidaho.edu>
From: yeti <yeti@KUOI.ASUI.UIDAHO.EDU>
X-To:         "J. Joseph Max Katz" <jkatz@corinne.mac.edu>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  <Pine.NEB.3.95.970618100213.8539A-100000@corinne.mac.edu>

On Wed, 18 Jun 1997, J. Joseph Max Katz wrote:

> Howdy!
>
> I was on IRC last night and received a few comments and came up
> with idea of getty and the shell fighting for control of the tty.
>
> In regards to having "open()" slide past "revoke()" I have heard a
> lot of reports from friends of mine that when they logout they
> jam and pound on their keyboards, and between the time their login
> shell dies and getty is supposed to re-spawn, they get a nice
> root prompt to play with. This is on HP/UX 9.00 and 10.00, BTW.

Hey Jon,



After our IRC conversation last night, and this post today, I wanted to
clarify some stuff. Actually, the shell you get is rather odd, sometimes
it is root, sometimes its not root, never really too predictible. I have
not tested this one very much, and I did not discover it, but I do know
that you have to mash that keyboard pretty danged quickly to do that.


Peter

> On Wed, 18 Jun 1997 Valdis.Kletnieks@vt.edu wrote:
>
> :I have to admit that it's 4AM, and I'm not an HP/UX expert, but I suspect the
> :follwoing is happening:
> :
> :When the other sysadmin does a 'kill -9' or whatever of the *parent shell*,
> :this is failing to propagate a SIGHUP to the shell spawned by the su command
> :(which makes sense, as it is probablyin a different process group for job
> :control purposes).  The login shell exits, the su-shell keeps running.
> :init notices the login shell exiting, and re-spawns a getty.  You then
> :get a getty/login and a su-shell fighting in a race condition for any
> :given line of terminal input.
>

 -----------------------------------------------
| Peter Radavich - KUOI FM Asst. Music Director |
| yeti@kuoi.asui.uiaho.edu - peterr@uidaho.edu  |
|   Peoples Front Against the World Wide Web    |
 -----------------------------------------------

home help back first fref pref prev next nref lref last post