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