[3089] in Release_Engineering

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

[Calvin Clark: decmips 7.4H: xsession: fix to set $SHELL with nocalls]

daemon@ATHENA.MIT.EDU (Ezra Peisach)
Thu Jul 15 20:33:46 1993

To: mar@Athena.MIT.EDU, rel-eng@Athena.MIT.EDU
Date: Thu, 15 Jul 93 20:33:36 EDT
From: Ezra Peisach <epeisach@Athena.MIT.EDU>


------- Forwarded Message

Received: from ATHENA-AS-WELL.MIT.EDU by e40-po.MIT.EDU (5.61/4.7) id AA14582; Tue, 29 Jun 93 00:39:08 EDT
Received: from AUDITORIUM.MIT.EDU by Athena.MIT.EDU with SMTP
	id AA00784; Tue, 29 Jun 93 00:38:58 EDT
Received: by auditorium (5.57/4.7) id AA12980; Tue, 29 Jun 93 00:38:56 -0400
Date: Tue, 29 Jun 93 00:38:56 -0400
Message-Id: <9306290438.AA12980@auditorium>
From: Calvin Clark <ckclark@MIT.EDU>
To: bugs@Athena.MIT.EDU
Subject: decmips 7.4H: xsession: fix to set $SHELL with nocalls

- -------
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.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

------- End of Forwarded Message


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