When I ssh into my qnx 6.3 box, I get the following message:
Last login: Fri Jul 9 14:23:43 2004 from saruman
Welcome to QNX Neutrino!
Bad line 1 in /etc/default/login
Bad line 2 in /etc/default/login
Bad line 4 in /etc/default/login
Bad line 5 in /etc/default/login
Bad line 6 in /etc/default/login
Bad line 7 in /etc/default/login
Sat Jul 10 12:47:53 2004 on /dev/ttyp5
Last login: Sat Jul 10 12:46:05 2004 on /dev/ttyp5
Sat Jul 10 12:47:53 2004 on /dev/ttyp5
Last login: Sat Jul 10 12:47:53 2004 on /dev/ttyp5
I’m not sure what to make of this. /etc/default/login appears to be an export file where the var’s (other than TZ) lack assignments.
The final 4 lines happen when I ssh -OR- telnet into the box, so that’s probably the same problem (motd being called twice, maybe?).
So what causes the “bad line…” and “last login:” messages?
Many thanks!
-e