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 <bugs@RT-11.MIT.EDU>; 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 <krb5-bugs@mit.edu>; 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 <tep@SDSC.EDU>
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
System: SunOS galt 5.5.1 Generic_103640-18 sun4u sparc SUNW,Ultra-1
Architecture: sun4
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.
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
< #ifndef OQUOTA
---
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 <bugs@RT-11.MIT.EDU>; 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 <krb5-bugs@mit.edu>; 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 <tep@SDSC.EDU>
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
Show quoted text
>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>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:
Show quoted text
>Release: krb5-1.0.5
>Environment:
>Environment:
System: SunOS galt 5.5.1 Generic_103640-18 sun4u sparc SUNW,Ultra-1
Architecture: sun4
Show quoted text
>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.
Show quoted text
>How-To-Repeat:
login to a Solaris or IRIX host using login.krb5Show quoted text
>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
Show quoted text
> #ifdef FORCE_MOTD_OFF
> #define NO_MOTD
> #endif
>
1921c1925> #define NO_MOTD
> #endif
>
< #ifndef OQUOTA
---
Show quoted text
> #if !defined(OQUOTA) && !defined(FORCE_QUOTA_OFF)
Show quoted text
>Audit-Trail:
>Unformatted:
>Unformatted: