[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] inetutils-telnet always prompt entering username eve

From: Mats Erik Andersson
Subject: Re: [bug-inetutils] inetutils-telnet always prompt entering username even if parameter '-l username' is specified.
Date: Thu, 19 Mar 2015 14:44:12 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

Den 28 December 2014 klockan 14:14 skrev Wu, Kuaikuai detta:
> Hi Bob,
>   Thank you for your opinion. When I used inetutils-telnetd as
> telnet server, it always prompt entering username even if parameter
> '-l username' is specified in telnet client. But when I used other
> telnet servers (such as netkit-telnetd), there wasn't such issue.
> Is it a bug of inetutils-telnetd?

I am pleased to admit that Kuaikuai Wu in fact has detected
a bug in our server executable inetutils-telnetd!

The problem is that telnetd never checks if the environment
variable USER is set, which it should be in case the client
wants an auto login. Thus the server never can hand the proper
user name over to login(1), whence a prompt for a user name
must always appear. However, this mishap is only present when
Kerberos authentication is not in place.

A solution to the issue has been pushed to our development head,
and is proven successful with OpenIndiana, FreeBSD as well as
Debian GNU/Linux.  The project is greatful for the contribution
and observation skill of Kuaukuai Wu!

Best regards,
  Mats Erik Andersson, developer of GNU Inetutils

reply via email to

[Prev in Thread] Current Thread [Next in Thread]