1753481 Members
4695 Online
108794 Solutions
New Discussion юеВ

Passwd echo problem

 
Manoj N
New Member

Passwd echo problem

Hi all,
On one of the test machines at my customer side, an application echoes the entered password back on screen (unlike normal, where it should be blanks).
It only happens when:
Solaris Console --> dtterm --> telnet to HP-UX
We are unable to recreate the problem at our end, and have tried using dtterm, xterm, vt220, ansi and console access from HP, AIX and Solaris (in different combos).

Any pointers?

Thanks in Advance,
--Manoj
4 REPLIES 4
Bill McNAMARA_1
Honored Contributor

Re: Passwd echo problem

stty echo off

read passwd

stty echo on

in the script. (if it's a script)

Later,
Bill
It works for me (tm)
Manoj N
New Member

Re: Passwd echo problem

It only happens when:
Solaris Console --> dtterm --> telnet to HP-UX!
Why is this?
harry d brown jr
Honored Contributor

Re: Passwd echo problem

Manoj,

What version of SOLARIS is your client using? What version of HPux is your client using? Is your HPux machine up-to-date in patches?

From the man pages of "telnet" on a SOLARIS box:

----------------------------
Once a connection has been opened, telnet enters input mode. In this mode, text typed is sent to the remote host. The input mode entered will be either "line mode", "character at a time", or "old line by line", depending on what the remote system supports.

In "line mode", character processing is done on the local system, under the control of the remote system. When input editing or character echoing is to be disabled, the remote system will relay that information. The remote system will also relay changes to any special characters that happen on the remote system, so that they can take effect on the local system.

In "character at a time" mode, most text typed is immediately sent to the remote host for processing.

In "old line by line" mode, all text is echoed locally, and (normally) only completed lines are sent to the remote host. The "local echo character" (initially ^E) may be used to turn off and on the local echo. (Use this mostly to enter passwords without the password being echoed.).
----------------------------

live free or die
harry
Live Free or Die
Manoj N
New Member

Re: Passwd echo problem

We use Solaris 2.6 and HP-UX 11.0. The password routines are present in an executable provided by the customer, which is being called from our source code.