[2349] in SIPB_Linux_Development

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

Re: more utmp lossage

daemon@ATHENA.MIT.EDU (Erik Nygren)
Thu Dec 31 03:17:57 1998

To: amu@MIT.EDU (Aaron M. Ucko)
Cc: linux-dev@MIT.EDU
In-Reply-To: Your message of "31 Dec 1998 00:48:13 EST."
             <udlk8z8980y.fsf@x15-cruise-basselope.mit.edu> 
Date: Thu, 31 Dec 1998 03:17:48 EST
From: Erik Nygren <nygren@MIT.EDU>


> Whee.  I found the problem with tty logins leaving utmp in a weird
> state: if a user logs in on tty1, login writes that information to a
> utmp entry with ut_id = "kly1".  When that user logs out, init writes
> a logout record with ut_id = "1", which fails to clobber the entry
> login wrote because it's searching for another entry with the same
> id.  The best solution is probably to change the entries in
> /etc/inittab to have appropriate IDs, especially since we're already
> modifying inittab anyway.  Anyone object to this approach?

Changing /etc/inittab to somehow know about something
vaguely relating to kerberos just sounds horribly wrong
and a gross kludge that may cause us problems in
the future and just be one more thing to worry about and 
have break.

Changing login (or the library it uses) to deal appropriately
with /dev/ttyN sounds like a far superior solution...  :-)

	Erik

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