Subject: bin/21450: telnet -l does not work with the current telnetd
To: None <gnats-bugs@gnats.netbsd.org>
From: None <o.vd.linden@quicknet.nl>
List: netbsd-bugs
Date: 05/04/2003 21:19:29
>Number:         21450
>Category:       bin
>Synopsis:       telnet -l does not work with the current telnetd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 04 19:20:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Onno van der Linden
>Release:        NetBSD 1.6R
>Organization:
	
>Environment:
	
	
System: NetBSD sheep 1.6R NetBSD 1.6R (SHEEP) #22: Sat May 3 22:04:04 MEST 2003 root@sheep:/usr/src/sys/arch/i386/compile/SHEEP i386
Architecture: i386
Machine: i386
>Description:
 telnet -l username host (where host is a NetBSD machine and username is valid
 on that host) does not work, i.e. it still asks for a username to login.
>How-To-Repeat:
 telnet -l username host
>Fix:

*** /usr/src/libexec/telnetd/sys_term.c.orig	Sun May  4 21:17:56 2003
--- /usr/src/libexec/telnetd/sys_term.c	Sun May  4 21:18:31 2003
***************
*** 1741,1746 ****
--- 1741,1747 ----
  		"EDITOR=",
  		"PAGER=",
  		"LOGNAME=",
+ 		"USER=",
  		"POSIXLY_CORRECT=",
  		"TERMCAP=",
  		"PRINTER=",
>Release-Note:
>Audit-Trail:
>Unformatted: