login vs. Login Prompt

I have a machine that for some reason is giving a login prompt (lower case L) instead of Login (upper case). I have searched for the file that this prompt would come from but can’t find it. Also note I only get this using Ethernet connetion, Seriel connetion will give me Login (upper case) Any ideas…?? I am still learning, but this is driving me crazy.

Thanks,

What version of QNX ? “uname -a” would help.

You mentioned this only happened using Ethernet connection. Are you telneting, sshing, or using other connection method?

uname -a
QNX 1 G 423 PCI 32

Telnet session

Both the Ethernet and Ser are Telnet sessions usning ProComm, but same results from DOS, etc…

I just tried on my QNX 4.25 box, both console and telnet login shows a “login:” (lower case L). Looks like the /bin/login in QNX 4.23 prompt “Login:” as you observed. While the telnetd (part of tcpip) gives “login:”. If you can post “sin ver” output, we will be able to see if your tcpip is on the same version.

On the other hand, I don’t see much a problem with prompting “login:” or “Login:”. Why you worried?

We have a lot of auto login scripts and procedures that log into the systems thru a loop, and the lower case is getting it fouled up. Actually both login and password are lower case. I can modify scripts also, but thought I could use vi to edit a file and make the login > Login. I have the sin ver from 2 machines, one has upper case one lower case appear to be the save versions though. Faulty box is first…

PROGRAM NAME VERSION DATE
//1//qnx/os/sys/Proc32 Proc 4.23G Oct 04 1996
//1/
/qnx/os/sys/Proc32 Slib16 4.23C Mar 06 1996
//1//qnx/os/sys/Slib32 Slib32 4.23F Sep 06 1996
//1/
/qnx/os/sys/Fsys Fsys32 4.23I Nov 20 1996
//1//qnx/os/sys/Fsys PLPI SC32 4.25C Jan 03 2002
//1/
/qnx/os/sys/Fsys BP CD-ROM 4.25A Feb 27 2001
//1//qnx/os/sys/Fsys Floppy 4.23C Feb 06 1997
…/cam/bin/cam.mcb2scsi Scsi 4.21C May 10 2002
//1/hd/bin/Pipe Pipe 4.23A Feb 26 1996
//1/hd/bin/Dev Dev32 4.23G Oct 04 1996
//1/hd/bin/Dev.ser Dev32.ser 4.23G Oct 04 1996
//1/hd/bin/Net Net 4.23A Jun 12 1996
//1/
/bin/Net.ether1000 Net.ether100 4.23A Apr 12 1996
//1/hd/bin/Dev.pty Dev32.pty 4.23G Oct 04 1996
//1/hd/bin/Iso9660fsys Iso9660fsys 4.23B Jun 10 1998
//1//usr/vm/bin/resmgr Resmgr 1.00A May 10 2002
//1/
/usr/vm/bin/Dev.ag ag 2.01A May 10 2002
//1/*/usr/vm/bin/Dq.ser Dq.ser 1.13a Nov 05 1996
//1/hd/usr/ucb/Socket Socket 4.24A Aug 12 1997

PROGRAM NAME VERSION DATE
//1//qnx/os/sys/Proc32 Proc 4.23G Oct 04 1996
//1/
/qnx/os/sys/Proc32 Slib16 4.23C Mar 06 1996
//1//qnx/os/sys/Slib32 Slib32 4.23F Sep 06 1996
//1/
/qnx/os/sys/Fsys Fsys32 4.23I Nov 20 1996
//1//qnx/os/sys/Fsys PLPI SC32 4.25C Jan 03 2002
//1/
/qnx/os/sys/Fsys BP CD-ROM 4.25A Feb 27 2001
//1//qnx/os/sys/Fsys Floppy 4.23C Feb 06 1997
…/cam/bin/cam.mcb2scsi Scsi 4.21C May 10 2002
//1/hd/bin/Pipe Pipe 4.23A Feb 26 1996
//1/hd/bin/Dev Dev32 4.23G Oct 04 1996
//1/hd/bin/Dev.ser Dev32.ser 4.23G Oct 04 1996
//1/hd/bin/Net Net 4.23A Jun 12 1996
//1/
/bin/Net.ether1000 Net.ether100 4.23A Apr 12 1996
//1//bin/Net.ether1000 Net.ether100 4.23A Apr 12 1996
//1/hd/usr/ucb/Socket Socket 4.24A Aug 12 1997
//1/hd/bin/Dev.pty Dev32.pty 4.23G Oct 04 1996
//1/hd/bin/Iso9660fsys Iso9660fsys 4.23B Jun 10 1998
//1/
/usr/vm/bin/resmgr Resmgr 1.00A May 10 2002
//1//usr/vm/bin/Dev.ag ag 2.01A May 10 2002
//1/
/usr/vm/bin/Dq.ser Dq.ser 1.13a Nov 05 1996

does this data help at all? Any suggestions on how to correct that lower case L in login to make it upper case? Thanks…

Use spatch to look through login (the program) and find the string with the upper case ‘L’ and change it to a lower case?

I seem to recall this was a feature of the older QNX versions. You can also make your scripts accept [lL]ogin depending upon the scripting language.

Rick…