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 ; 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" 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 >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 >Release: krb5-1.1.1 >Environment: System: SunOS eridu 5.8 Generic sun4u sparc SUNW,Ultra-60 Architecture: sun4 >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). >How-To-Repeat: Run in.telnetd on a Solaris 8 machine and it creates a corrupt and bogus /var/adm/utmp. >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. >Audit-Trail: >Unformatted: