Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) X-RT-Original-Encoding: iso-8859-1 Content-Length: 3119 From kenh@cmf.nrl.navy.mil Wed Nov 6 13:55:54 1996 Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id NAA19529 for ; Wed, 6 Nov 1996 13:55:54 -0500 Received: from ginger.cmf.nrl.navy.mil by MIT.EDU with SMTP id AA11530; Wed, 6 Nov 96 13:55:53 EST Received: from elvis.cmf.nrl.navy.mil (kenh@elvis.cmf.nrl.navy.mil [134.207.10.38]) by ginger.cmf.nrl.navy.mil (8.7.5/8.7.3) with ESMTP id NAA28535 for ; Wed, 6 Nov 1996 13:55:57 -0500 (EST) Received: (kenh@localhost) by elvis.cmf.nrl.navy.mil (8.6.12/8.6.11) id NAA03559; Wed, 6 Nov 1996 13:55:50 -0500 Message-Id: <199611061855.NAA03559@elvis.cmf.nrl.navy.mil> Date: Wed, 6 Nov 1996 13:55:50 -0500 From: Ken Hornstein Reply-To: kenh@cmf.nrl.navy.mil To: krb5-bugs@MIT.EDU Subject: login.krb5 prints motd twice under Irix systems X-Send-Pr-Version: 3.2 >Number: 158 >Category: krb5-appl >Synopsis: login.krb5 causes motd to be printed twice under Irix >Confidential: no >Severity: non-critical >Priority: low >Responsible: krb5-unassigned >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Wed Nov 06 13:56:01 EST 1996 >Last-Modified: Fri Mar 28 01:15:02 EST 1997 >Originator: Ken Hornstein >Organization: Naval Research Lab >Release: beta-7 >Environment: >Description: Like most other SVR4 systems, Irix prints it's Message Of the Day by some extra magic in /etc/cshrc. However, since the Irix compiler doesn't define __SVR4, login doesn't know about this behavior and prints the MOTD for you. Thus, you get the MOTD twice. >How-To-Repeat: Using login.krb5 as a login replacement on Irix systems. >Fix: This patch seems to do it: --- login.c.orig Wed Nov 6 13:50:55 1996 +++ login.c Wed Nov 6 13:51:36 1996 @@ -280,7 +280,7 @@ passsword */ #endif -#ifdef __SVR4 +#if defined(__SVR4) || defined(sgi) #define NO_MOTD #define NO_MAILCHECK #endif >Audit-Trail: From: Sam Hartman To: Unassigned Problem Report Cc: krb5-bugs@MIT.EDU Subject: Re: krb5-appl/158: login.krb5 causes motd to be printed twice under Irix Date: Sat, 9 Nov 1996 08:09:32 -0500 `Sam Hartman' made changes to this PR. *** /tmp/gnatsb002OL Sat Nov 9 08:07:09 1996 --- /tmp/gnatsc002OL Sat Nov 9 08:07:24 1996 *************** *** 17,23 **** >Synopsis: login.krb5 causes motd to be printed twice under Irix >Confidential: no >Severity: non-critical ! >Priority: medium >Responsible: krb5-unassigned >State: open >Class: sw-bug --- 17,23 ---- >Synopsis: login.krb5 causes motd to be printed twice under Irix >Confidential: no >Severity: non-critical ! >Priority: low >Responsible: krb5-unassigned >State: open >Class: sw-bug State-Changed-From-To: open-closed State-Changed-By: tytso State-Changed-When: Fri Mar 28 01:14:49 1997 State-Changed-Why: Patch applied. >Unformatted: