[19856] in Athena Bugs
sun4 9.0.14: /usr/athena/lib/init/bash_login
daemon@ATHENA.MIT.EDU (Ray Jones)
Tue Oct 2 20:47:43 2001
Message-Id: <200110030047.UAA15991@scrubbing-bubbles.mit.edu>
To: bugs@MIT.EDU
Date: Tue, 02 Oct 2001 20:47:41 -0400
From: Ray Jones <thouis@MIT.EDU>
System name: scrubbing-bubbles.mit.edu
Type and version: Ultra-60 9.0.14 (with mkserv)
Display type: unknown
Shell: /bin/athena/bash
Window manager: twm
What were you trying to do?
Log in with my shell set to bash
What's wrong:
The lines:
# SGI xwsh runs shells as login shells. We don't want this.
if [ "${XSESSION+set}" = set ]; then
exit 0
fi
Prevent me from logging in. The if statement always evaluates to
true. Note that this was a problem on my home machine (running
athena-linux) as well.
What should have happened:
The line with the test should be changed to:
if [ "${XSESSION}+set" = set ]; then
Though, actually, I don't know what this line is there to accomplish.
It forces users to have the XSESSION variable set to log in. (??)
The cshrc version, in /usr/athena/lib/init/login, as the sense of the
test reversed.
Please describe any relevant documentation references: