[2933] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

krb5-build/601: new features for better control of quota and MOTD in login.krb5

daemon@ATHENA.MIT.EDU (Tom Perrine)
Fri May 29 16:37:23 1998

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: tlyu@MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, tep@SDSC.EDU
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


>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:

home help back first fref pref prev next nref lref last post