[2348] in SIPB_Linux_Development

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

more utmp lossage

daemon@ATHENA.MIT.EDU (Aaron M. Ucko)
Thu Dec 31 00:48:24 1998

To: linux-dev@MIT.EDU
From: amu@MIT.EDU (Aaron M. Ucko)
Date: 31 Dec 1998 00:48:13 -0500

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?

-- 
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)

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