[4285] in Kerberos

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

utmp/wtmp problems with krb5-b4p3 telnetd on aix and solaris

daemon@ATHENA.MIT.EDU (Paul Pomes)
Tue Dec 6 18:59:51 1994

To: kerberos@MIT.EDU
Date: 6 Dec 1994 17:37:02 -0600
From: p-pomes@vixen.cso.uiuc.edu (Paul Pomes)
Reply-To: P-Pomes@uiuc.edu

With the latest version of telnetd in the beta 4 patch 3 release, nothing
is updating /etc/utmp anymore at least under solaris 2.3 and aix 3.2.5.
The wtmp records are being written sans the hostname.  In examining 
telnet/telnetd/sys_term.c and bsd/login.c, neither makes the call to do
so unless PARENT_DOES_UTMP is defined for sys_term.c.  Doing so fails
at least on AIX with the complaint that login wasn't invoked by the lowest
shell.

This is no doubt one of the uglier can of worms involved with a multi-
platform port - every vendor has a standard.  I'm hesitant to blaze a
path here because I'll have to test every change on every platform we
use.  Throw in the utmpx convention of some platforms and I can see the
#ifdefs getting inpenetrable.

So before I start, is this problem already solved for the next patch?

/pbp
-- 
"In the LA murder rate, the 'good-riddance factor' prevails."  [Referring to
the observation that 75% of murder "victims" there are drug dealing related.]
	-Col. Jeff Cooper

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