[362] in Athena Bugs

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

/bin/login

daemon@ATHENA.MIT.EDU (probe@ATHENA.MIT.EDU)
Wed May 11 00:29:15 1988

From: <probe@ATHENA.MIT.EDU>
Date: Wed, 11 May 88 00:28:00 EDT
To: rt-testers@ATHENA.MIT.EDU, vs-testers@ATHENA.MIT.EDU, bugs@ATHENA.MIT.EDU
Reply-To: Richard Basch   <probe@ATHENA.MIT.EDU>

These bugs can be found by looking at the sources!
I looked at /source/4.3/bin/login.c  (5/10/88: ~10pm)

1) zwgc should probably be started around the time of the printing of
   /etc/motd to allow the use of the environment variables that are set
   later.  (fix: move dofork() call in the main routine)

2) dofork() should only execlp zwgc if krbflag is true.

3) Just before executing zwgc, the current directory should probably be
   that of the user's home directory to allow such things as the
   initprog (in .zephyr.vars) to be something in that directory.
   Requiring explicit pathnames should not be necessary!

A moderately hacked /bin/login exists on my workstation with these
features plus Kubi's hack (ignoring tickets if the home directory has to
be mounted) and mine (if /etc/noremote exists, don't allow remote logins
unless the person is in /etc/passwd).  If you desire to use this, you
can find my sources in  /odie/u1/src/login/login.c

-Richard Basch
(Watchmaker)

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