- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Backspace doesnot work when users type username/pa...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 06:36 AM
тАО10-17-2001 06:36 AM
Here comes the detail of my question:
After a telnet session established to HP-UX 11.0, the backspace doesn't apply to the input whatever the TERM is, so that users are not able to correct their input.
I guess it's nothing to do with .profile and "stty" settings, for telnet session occurs before reading the .profile.
Thank you for your time in advance.
Lorne Shu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 06:40 AM
тАО10-17-2001 06:40 AM
Re: Backspace doesnot work when users type username/passwd
for some useful clues ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 07:00 AM
тАО10-17-2001 07:00 AM
Re: Backspace doesnot work when users type username/passwd
I believe that's something before reading "stty" settings in .profile for I have tried "stty" before and found out that "stty" doesn't work in this case.
Anyway, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 07:01 AM
тАО10-17-2001 07:01 AM
Re: Backspace doesnot work when users type username/passwd
I believe there are several threads concerning this in the forums but basically the erase character needs to be specified. You can do that with: stty erase
You can choose another key if you like. You can add it to users' .profile or to the system's /etc/profile. Csh users have /etc/csh.login or .cshrc.
Also, terminal emulation programs generally let you configure the delete and/or backspace keys. Often, it's just telling the emulation program to send the other ascii character instead of its default.
As far as entering a backspace while typing the password, you may be able to use
Darrell
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 07:02 AM
тАО10-17-2001 07:02 AM
Re: Backspace doesnot work when users type username/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 07:05 AM
тАО10-17-2001 07:05 AM
Re: Backspace doesnot work when users type username/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 07:15 AM
тАО10-17-2001 07:15 AM
Re: Backspace doesnot work when users type username/passwd
me> telnet yourserver
Trying...
Connected to yourserver
Escape character is '^]'.
login: blablablax (and can't delete mistakes)
I have never been able to do that either. The user, when typing in their username or password, cannot backspace to delete mispellings. However, if you make a mistake when typing the username or password, type the @ symbol, and the telnetd will ignore all characters beforehand. e.g. if your username is 'myuser', then at the telnet prompt this will work:
login: myuss@myuser
password:
CHeers,
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 07:19 AM
тАО10-17-2001 07:19 AM
Re: Backspace doesnot work when users type username/passwd
I have tried "cmd" and reflection to establish the telnet session; although they act a little different to backspace, both of them failed at last.
By the way,
Darrell, users could hardly set backspace with "cmd", how could they do if they are using "cmd" and ansi as terminal type?
Carlos, what do you mean by "#"? as backspace?
Thanks all of you who is replying so far!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 07:34 AM
тАО10-17-2001 07:34 AM
Re: Backspace doesnot work when users type username/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 07:47 AM
тАО10-17-2001 07:47 AM
Re: Backspace doesnot work when users type username/passwd
I understand what exactly what you mean for "#" and "@". I would like take them as a solution to users, if I cannot find the ideal way on server side (in spite of disturbing users)to solve the problem.
in summary to the solutions for telnet,
when you make a mistake while typing username,
just type:
'#' means "Send Telnet Erase Character";
'@' means "Send Telnet Erase Line";
after that, type the right characters or retype again.
Thank you all for your time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 09:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2001 09:26 AM
тАО10-17-2001 09:26 AM
Re: Backspace doesnot work when users type username/passwd
That exactly solved the problem.