[10635] in Athena Bugs
decmips 7.4H: xsession: fix to set $SHELL with nocalls
daemon@ATHENA.MIT.EDU (Calvin Clark)
Tue Jun 29 00:39:04 1993
Date: Tue, 29 Jun 93 00:38:56 -0400
From: Calvin Clark <ckclark@MIT.EDU>
To: bugs@Athena.MIT.EDU
-------
System name: auditorium
Type and version: KN02ca 7.4H
Display type: PMAG-JA
What were you trying to do?
Log in without customizations.
What's wrong:
It runs my shell from /etc/passwd, rather than the
default Athena shell.
What should have happened:
It should run /bin/athena/tcsh when you select "ignore
customizations" because some users may have trouble if they use
chsh to set their login shells to strange things. For example,
a user might decide to use the Korn shell, and use chsh to set
his login shell to /usr/bin/ksh, because he sees that it's
available on the DECstation. However, he would then lose
trying to log into an RS/6000, because ksh is /bin/ksh on that
machine, or on a VAX, where ksh isn't anywhere at all.
In a situation like this, "ignore customizations" won't
help. But this one-line change will make it help:
*** /source/athena/dotfiles/system/xsession Tue Feb 23 15:01:09 1993
--- xsession Tue Jun 29 00:14:46 1993
***************
*** 21,26 ****
--- 21,27 ----
echo -n "xsession: Running standard xsession "
echo "with NO user configuration files..."
setenv NOCALLS
+ setenv SHELL /bin/athena/tcsh
else
set bad_args
endif
Please describe any relevant documentation references:
From OLH:
The Login Options menu helps you log into Athena in the mode that best suits
your needs (regular session, terminal-style session, initial mail-check,
etc.), or helps you login successfully even if some configuration you have
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
made prevents your normal login.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^