Solaris Telnet, how to suppress password entry?

Solaris Telnet, how to suppress password entry?

Post by Donato Petrin » Tue, 06 Jul 1999 04:00:00



Hello,

I have a problem concerning the telnet client on Solaris 2.6. I
implemented a server which provides a character
oriented user interface via a special port. After accepting a connection
initiated by the telnet client the server force the
user to type in a password.
The telnet client works in line mode with local echo on, which is fine
except for the password entry.
I already tried to send (from the server to the telnet client) the
telnet command sequence

    IAC ECHO OFF (and after pwd input again ON)

but it seems that it gets ignored. I wonder because exactly this
implementation works when using
from WinNT via Hummingbird Exceed TELNET.

Has someone a solution?

TIA

 
 
 

Solaris Telnet, how to suppress password entry?

Post by Andrew Gabri » Tue, 06 Jul 1999 04:00:00




Quote:>Hello,

>I have a problem concerning the telnet client on Solaris 2.6. I
>implemented a server which provides a character
>oriented user interface via a special port. After accepting a connection
>initiated by the telnet client the server force the
>user to type in a password.
>The telnet client works in line mode with local echo on, which is fine
>except for the password entry.
>I already tried to send (from the server to the telnet client) the
>telnet command sequence

>    IAC ECHO OFF (and after pwd input again ON)

There's no such sequence.

The server should send IAC WILL ECHO which is the server telling
the client that the server will do echoing so the client shouldn't
echo. The server continues not to echo, so no echoing happens.
You should get back from the client IAC DO ECHO. If you get back
IAC DONT ECHO, then the client is unable to turn off echoing.
(Although I've come across several clients which know they can't
turn off echoing, I've yet to find one that actually admits this
to the server, other than one I wrote.)

BTW, this won't work with Microsoft's telnet client, because it's
too non-conformant. I couldn't make it go no-echo at all in line
mode, although it tells the server it has.

--
Andrew Gabriel
Consultant Software Engineer

 
 
 

Solaris Telnet, how to suppress password entry?

Post by chint.. » Thu, 08 Jul 1999 04:00:00


Dear Donato,
        You have set local echo on turn it off



Quote:> Hello,

> I have a problem concerning the telnet client on Solaris 2.6. I
> implemented a server which provides a character
> oriented user interface via a special port. After accepting a
connection
> initiated by the telnet client the server force the
> user to type in a password.
> The telnet client works in line mode with local echo on, which is fine
> except for the password entry.
> I already tried to send (from the server to the telnet client) the
> telnet command sequence

>     IAC ECHO OFF (and after pwd input again ON)

> but it seems that it gets ignored. I wonder because exactly this
> implementation works when using
> from WinNT via Hummingbird Exceed TELNET.

> Has someone a solution?

> TIA

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
 
 
 

1. Login on virtual terminals fails to supress password entry?

Hi there,

I have the following problem:

When I log in from the console (/dev/tty1) everything works fine. If I
switch to a virtual terminal (dev/tty2-ttyn) then getty accepts the
username and correctly starts teh login programme for the password.
However the keystrokes for the password are not suppressed when the
user enters the password and the system hangs once enter is pushed. It
hangs for about a minute before returing login incorrect and shows the
username prompt.

I think the problem is with the login programme and not getty as it
fails at the password prompt. Any ideas/help would be appreciated.

thanking you in advance

Lomax

2. Linux Modem web page

3. What comes with the LinuxPPC CD? Is it really missing gcc?

4. Q: How to suppress syslog entry in crontab?

5. "floating point exception" in idraw

6. Suppressing syslog entry in crontab?

7. How do I build my own RPMS under Red Hat?

8. suppressing specific history entries

9. PRINTCAP HAS "SH"(Suppress header) BUT DOES NOT SUPPRESS: HELP.

10. after type the password need to wait a long time when telnet solaris

11. suppress password with su

12. Suppressing system info displayed by telnet at logon