Skip Menu |
 

Download (untitled) / with headers
text/plain 1.9KiB
From ellidz@eridu.uchicago.edu Fri Feb 18 13:19:45 2000
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2])
by rt-11.mit.edu (8.9.3/8.9.3) with SMTP id NAA08958
for <bugs@RT-11.MIT.EDU>; Fri, 18 Feb 2000 13:19:44 -0500 (EST)
Received: from eridu.uchicago.edu by MIT.EDU with SMTP
id AA02352; Fri, 18 Feb 00 13:19:34 EST
Received: (from ellidz@localhost)
by eridu.uchicago.edu (8.9.3+Sun/8.9.3) id MAA25680;
Fri, 18 Feb 2000 12:19:38 -0600 (CST)
Message-Id: <200002181819.MAA25680@eridu.uchicago.edu>
Date: Fri, 18 Feb 2000 12:19:38 -0600 (CST)
From: "E. Larry Lidz" <ellidz@eridu.uchicago.edu>
Reply-To: ellidz@eridu.uchicago.edu
To: krb5-bugs@MIT.EDU
Cc:
Subject: update_utmp.c doesn't deal with Solaris 8 not having utmp
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 825
>Category: krb5-appl
>Synopsis: update_utmp.c doesn't deal with Solaris 8 not having utmp
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Fri Feb 18 13:20:00 EST 2000
>Last-Modified:
>Originator: E. Larry Lidz
>Organization:
The University of Chicago
Show quoted text
>Release: krb5-1.1.1
>Environment:
System: SunOS eridu 5.8 Generic sun4u sparc SUNW,Ultra-60
Architecture: sun4

Show quoted text
>Description:
The Kerberos code uses the update_utmp() function in order to
log to utmp. Solaris 8 has removed utmp and only uses utmpx.
The defines for HAVE_SETUTXENT are inside the defines for
HAVE_SETUTENT. If they were seperate Solaris 8 could define
HAVE_SETUTXENT and not HAVE_SETUTENT and have everything work
(assuming that it didn't then try to update utmp by opening the
file).
Show quoted text
>How-To-Repeat:
Run in.telnetd on a Solaris 8 machine and it creates a corrupt
and bogus /var/adm/utmp.
Show quoted text
>Fix:
Pull the HAVE_SETUTXENT ifdef out of the HAVE_SETUTENT ifdef
and deal with them seperately. You may need to update the
default defines as well.
Show quoted text
>Audit-Trail:
>Unformatted:
fixed by pty library rewrite in krb5-1.2.3