Bugtraq mailing list archives
Re: your mail
From: yeti () kuoi asui uidaho edu (yeti)
Date: Thu, 19 Jun 1997 02:52:07 -0700
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 | -----------------------------------------------
Current thread:
- http://www.news.com/News/Item/0,4,11759,00.html, (continued)
- http://www.news.com/News/Item/0,4,11759,00.html Aleph One (Jun 20)
- Re: http://www.news.com/News/Item/0,4,11759,00.html Raymond Dijkxhoorn (Jun 21)
- Re: Core file anomalies under BSDi 3.0 Stacey Son (Jun 20)
- /cgi-bin/handler - more notes Razvan Dragomirescu (Jun 19)
- Re: Solaris 2.5.1 party piece Doug Hughes (Jun 19)
- Re: Solaris 2.5.1 party piece Bojan Zdrnja (Jun 20)
- Re: Solaris 2.5.1 party piece Joe Gross (Jun 20)
- Re: Netscape Admin Servers /tmp/deamonstat Valdis.Kletnieks () VT EDU (Jun 18)
- Re: your mail J. Joseph Max Katz (Jun 18)
- Re: your mail yeti (Jun 19)
- WE FOUND IT! (fwd) Jason R Mastaler (Jun 18)