[2855] in Release_Engineering
xlogin patches
daemon@ATHENA.MIT.EDU (Richard Basch)
Wed Jun 3 17:51:45 1992
Date: Wed, 3 Jun 92 17:50:48 -0400
To: testers@MIT.EDU, rel-eng@MIT.EDU
From: "Richard Basch" <basch@MIT.EDU>
conf/Xlogin.rsaix is now obsolete (and couldn't have possibly worked
properly because of incorrect quoting - it might have left mappings
around).
This fixes the problem of logging in on both X and the console and
having the wrong shell in the console login.
-R
*** /tmp/,RCSt1SX8AK1 Wed Jun 3 17:50:16 1992
--- conf/Imakefile Wed Jun 3 17:48:11 1992
***************
*** 12,23 ****
create_dir(/usr/athena/lib/login)
#if defined(_IBMR2)
- install_script(Xsession.rsaix,,/etc/athena/login/Xsession)
install_file(config.rsaix,/etc/athena/login/config)
#else
- install_script(Xsession,,/etc/athena/login/Xsession)
install_file(config,/etc/athena/login/config)
#endif
install::
-for i in $(USRSCRIPTS); do \
--- 12,23 ----
create_dir(/usr/athena/lib/login)
#if defined(_IBMR2)
install_file(config.rsaix,/etc/athena/login/config)
#else
install_file(config,/etc/athena/login/config)
#endif
+
+ install_script(Xsession,,/etc/athena/login/Xsession)
install::
-for i in $(USRSCRIPTS); do \
*** /tmp/,RCSt1SX8Gki Wed Jun 3 17:50:17 1992
--- xlogin/verify.c Wed Jun 3 17:46:16 1992
***************
*** 156,161 ****
--- 156,169 ----
} else
return("Unable to find account information due to network failure. Try another workstation or try again later.");
}
+ #ifdef _AIX
+ /*
+ * Because the default shell is /bin/csh, and we wish to provide
+ * users with the line-editing of tcsh, we will reset their shell.
+ */
+ if (!strcmp(pwd->pw_shell, "/bin/csh"))
+ pwd->pw_shell = "/bin/athena/tcsh";
+ #endif
}
if (nocreate && !local_passwd) {