Console log in problem (Caps Lock)

by Community Manager on ‎09-27-2012 07:29 AM

Question


I have a weird problem when I want to login at the console via the GSP. Everything is in capital letters. Even the stuff I type in (note caps lock is not on!). Seems like a weird TERM problem.

I'm not on-site so I'm only able to connect to the console via the GSP (LAN). I have SSH access to the box but not root access. The root account is locked out and need to unlock it via Console.


Leaving Guardian Service Processor Command
Interface and entering
Console mode. Type Ctrl-B to reactivate the GSP Command Interface.


LOGIN: ROOT
\PASSWORD:
\ACCOUNT IS DISABLED BUT CONSOLE LOGIN IS ALLOWED.
\LOGIN INCORRECT

\WAIT FOR LOGIN RETRY: ..
LOGIN:

Answer

Very common problem. Someone tried to login using the most annoying key on the keyboard: CAPS LOCK. Once HP-UX sees an all UPPERCASE login and password, the termio code assumes that this is an old teletype with only UPPERCASE characters and has turned on the iuclc and ouclc options (see man stty). If you notice in your listing, the GSP is fine (which is a separate computer) but leaving the GSP puts you back into HP-UX where the getty for the console is running. This getty needs to be respawned so login as root on a another terminal (ie, telnet, etc) and then find the console getty with:

UNIX95=1 ps -fC getty

Kill the process and you should see a new console getty spawned. That will return the console tty settings to normal.