Operating System - HP-UX
1819987 Members
3583 Online
109608 Solutions
New Discussion юеВ

Re: backspace on login/passwd

 
SOLVED
Go to solution
John McDen
Regular Advisor

backspace on login/passwd

Hi,

If I mistype on the login or passwd prompt and if I try to use the backspace it will not correct it.

How do I get this fixed so that I can use the backspace.

Thanks in advance.
New to HP
12 REPLIES 12
Sandip Ghosh
Honored Contributor

Re: backspace on login/passwd

To do this first you have to specify the terminal type and then you have to assign the correct escape sequence for your backspace key.

Sandip
Good Luck!!!
S.K. Chan
Honored Contributor

Re: backspace on login/passwd

I assume you're having this problem even on the CDE login screen... are you ? If yes then check if /usr/lib/X11/XKeysymDB exist and if it does it should either be a file by itself of a symbolic link to /usr/lib/X11R6/XKeysymDB. Also make sure permission is 555 (bin:bin)
Sanjay_6
Honored Contributor

Re: backspace on login/passwd

Hi John,

In hp ux you cannot use backspace to correct your typing mistake when you do a telnet. To correct your typing mistake use @ and then type the correct username,

telnet some_server
login : typo_error@correct_user_name
password :

Hope this helps.

Regds
Jeff Schussele
Honored Contributor

Re: backspace on login/passwd

Hi John,

It's hard to assign term type until you've successfully logged in on pseudo (network) terminals. But I've found that a control-U will almost always be accepted during logins.

BTW - I also welcome you to the forums. It's a GREAT source of HP-UX info.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Rodney Hills
Honored Contributor

Re: backspace on login/passwd

Entering "stty erase ^c backspace key to work during the login process for all users.

-- Rod Hills
There be dragons...
Kelli Ward
Trusted Contributor

Re: backspace on login/passwd

Hi,
I have also found, in a pinch, holding down the Shift key while pressing the backspace will successfully back me out of a login typo.
This works on quite a few of my systems.
Good luck,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Rodney Hills
Honored Contributor

Re: backspace on login/passwd

oops,

Entering "stty erase ^h
-- Rod Hills
There be dragons...
Deepak Extross
Honored Contributor

Re: backspace on login/passwd

I agree with Sanjay - its best to do "kill" the input with a '@' and re-type the username or password.
You can use any number of '@'s. Entering "pawwsord@passo@password" is equivalent to "password"
Fred Martin_1
Valued Contributor

Re: backspace on login/passwd

Rodney, I also have this problem at login on all of my terminals.

Where can I put this line, so that the setting takes effect at boot time?

Fred
fmartin@applicatorssales.com
Rodney Hills
Honored Contributor

Re: backspace on login/passwd

stty erase ^h
only needs to be done once. It should carry over between reboots.

do a "man stty" for info.

-- Rod Hills
There be dragons...
Philip P. Hartl
Valued Contributor

Re: backspace on login/passwd

During login (on HPUX)there are two characters that can be used to make corrections: # = delete character (BS) and @ = delete all. Just as a side light; HP appears to have addressed this problem on the rp7400. It recognizes the backspace during login.
Don't take life so seriously; nobody gets out alive.
MANOJ SRIVASTAVA
Honored Contributor
Solution

Re: backspace on login/passwd

Hi John


For login name try @ to get teh login prompt again , incase of a mistyped passwd

if u can keep track of how many characters you ahve typed wrongly you can type as many # and then the correct one to get the right passwd .

Like is the the passwd you want to type was
test12 and you typed tesr , do a # and type t12 to get the rgiht combination.


Manoj Srivastava