Operating System - HP-UX
1753437 Members
5233 Online
108794 Solutions
New Discussion юеВ

Telnet and rlogin issue on HP-UX 11.00

 
Pawan_1
Frequent Advisor

Telnet and rlogin issue on HP-UX 11.00

Start Having the following issues, when using telnet and rlogin to a 11.0 system:

telnet smoc4257
Trying...
Connected to smoc4257.moc.ual.com.
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED option ON

HP-UX smoc4257 B.11.00 A 9000/800 (ta)

login: root
Password:
Login incorrect

That is : It does not prompt for the password and it takes a blank for the same and returns the next line i.e login incorrect.
26 REPLIES 26
Stephen Keane
Honored Contributor

Re: Telnet and rlogin issue on HP-UX 11.00

Looks like you are getting a double CR when you type in the user name root. Thus telnet thinks you've entered a null password.
Stephen Keane
Honored Contributor

Re: Telnet and rlogin issue on HP-UX 11.00

Just as a matter of interest, what do you get as output if yout type in stty

# stty

speed 9600 baud; -parity hupcl
intr = ^C; erase = ^H; kill = ^U;
eol2 = ^[; swtch ;
werase = ^W; lnext = ^V;
brkint -inpck -istrip icrnl ixoff onlcr
-iexten echo echoe echok
-echoke
Pawan_1
Frequent Advisor

Re: Telnet and rlogin issue on HP-UX 11.00

That sounds right, but where to turn it off, since have tried it with different terminals.
Pawan_1
Frequent Advisor

Re: Telnet and rlogin issue on HP-UX 11.00

Here is the output:

stty
speed 9600 baud; -parity hupcl
min = 1; time = 1; intr = ^C; erase = ^H; kill = ^U;
swtch ;
brkint -inpck -istrip icrnl ixoff onlcr
-iexten echo echoe echok
-echoctl -echoke
BONNAFOUS Jean Marc
Trusted Contributor

Re: Telnet and rlogin issue on HP-UX 11.00

Hi,
It's seem that your 'Enter' key send double CR.
Make a CR on login without giving user name. Have you only a new line with login or two?

Only with telnet and rlogin? Only with this host?

Do you use a emulator to connect on this host? Is problem exist also if you use telnet from another Unix system?

If you use a emulator see his configuration for CR KEY.

Rgds
JMB
Si vous ne faites jamais de b├йtises, c'est que vous ne faites rien de difficile. Et ├зa c'est une grosse b├йtise.
Pawan_1
Frequent Advisor

Re: Telnet and rlogin issue on HP-UX 11.00

When you press enter at login prompt:

# telnet smoc4257
Trying...
Connected to smoc4257.moc.ual.com.
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED option ON

HP-UX smoc4257 B.11.00 A 9000/800 (ta)

login:
login:
login:

This is the only host having problem with telnet and rlogin. Am able to use ssh to connect and its working fine. Have tried it from Unix telnet/rlogin [ From same and different hosts] and Windows Terminal commands and same results.
Stephen Keane
Honored Contributor

Re: Telnet and rlogin issue on HP-UX 11.00

Type in telnet host
then press the escape character (CTRL-])
to get to the telnet prompt, then type in status

telnet> status
Connected to hostname.
Operating in character-at-a-time mode.
Escape character is '^]'.
Local flow control on

What do you get?
Pawan_1
Frequent Advisor

Re: Telnet and rlogin issue on HP-UX 11.00

When typing:

telnet smoc4257, its going directly to the login prompt.

telnet smoc4257
Trying...
Connected to smoc4257.moc.ual.com.
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED option ON

HP-UX smoc4257 B.11.00 A 9000/800 (tb)

login:

Is there some other way to invoke the same.
Stephen Keane
Honored Contributor

Re: Telnet and rlogin issue on HP-UX 11.00

It is not CTRL-J it is CTRL-] (right square bracket), sorry for the confusion.