From tep@SDSC.EDU Fri May 29 16:30:55 1998 Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id QAA12614 for ; Fri, 29 May 1998 16:30:54 -0400 Received: from postal.sdsc.edu by MIT.EDU with SMTP id AA04037; Fri, 29 May 98 16:30:45 EDT Received: from galt (XKbH/ZLE3KTA+rL5KnKz5wzsSLBKHY6z@galt.sdsc.edu [132.249.40.111]) by postal.sdsc.edu (8.8.8/8.8.8/SDSCserver-16) with SMTP id NAA03206 for ; Fri, 29 May 1998 13:30:52 -0700 (PDT) Received: by galt (SMI-8.6/1.11-client) id NAA13148; Fri, 29 May 1998 13:30:51 -0700 Message-Id: <199805292030.NAA13148@galt> Date: Fri, 29 May 1998 13:30:51 -0700 From: Tom Perrine Reply-To: tep@SDSC.EDU To: krb5-bugs@MIT.EDU Subject: new features for better control of quota and MOTD in login.krb5 X-Send-Pr-Version: 3.99 >Number: 601 >Category: krb5-build >Synopsis: new features for better control of quota and MOTD in login.krb5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: tlyu >State: open >Class: change-request >Submitter-Id: unknown >Arrival-Date: Fri May 29 16:31:01 EDT 1998 >Last-Modified: >Originator: Tom Perrine >Organization: San Diego Supercomputer Center, San Diego CA >Release: krb5-1.0.5 >Environment: System: SunOS galt 5.5.1 Generic_103640-18 sun4u sparc SUNW,Ultra-1 Architecture: sun4 >Description: Some UNIX systems are not consistent with their implementations of quota and motd wSysV and BSD. This is not well handled by login.krb5. On Solaris you get two quota runs at login, and on IRIX you get doubled MOTD. >How-To-Repeat: login to a Solaris or IRIX host using login.krb5 >Fix: Added two configure options for force NO MOTD and NO QUOTA run at login time. There may be a cleaner way, but this works. FORCE_MOTD_OFF will suppress the MOTD FORCE_QUOTA_OFF will suppress the running of "quota" diff -r src.original/appl/bsd/login.c src/appl/bsd/login.c 288a289,292 > #ifdef FORCE_MOTD_OFF > #define NO_MOTD > #endif > 1921c1925 < #ifndef OQUOTA --- > #if !defined(OQUOTA) && !defined(FORCE_QUOTA_OFF) >Audit-Trail: >Unformatted: