[2998] in Athena Bugs

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

Re: Dial-in Problem with 6.3B

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Fri Aug 25 11:11:55 1989

Date: Fri, 25 Aug 89 11:11:40 -0400
From: Ken Raeburn <raeburn@ATHENA.MIT.EDU>
To: Ronald L. Orcutt <orcutt@ATHENA.MIT.EDU>
Cc: bugs@ATHENA.MIT.EDU
In-Reply-To: Ronald L. Orcutt's message of Fri, 25 Aug 89 09:20:30 EDT,
This has been mentioned before; it appears not to be something that
these dot files were designed for, and apparently no one thought to
try it out.

Activation of the workstation would have to take place in .login or
.cshrc, not one of the files normally called from those, because
without /usr/athena/lib/init available (since the workstation is
deactivated), none of those files can get called.

For myself, I edited .login:

    if ( ! -d /usr/athena/lib || ! -d /srvd/update ) then
	    /etc/athena/activate
	    unsetenv ENV_SET
	    source ~/.cshrc
	    if ( -r ~/.tcshrc ) source ~/.tcshrc
    endif

    # Prototype user .login file ....

But I don't think we should have to tell all private users this.  It
might be a reasonable addition to the standard .login (with additional
checks to see whether the activate succeeded), were it not already too
late for that.

An (equally unpleasant, if not more so) alternative might be to tell
people "/etc/athena/activate ; source .cshrc ; source .login" or some
such...

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