From owner-freebsd-questions Fri Aug 16 12:40:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C43BB37B405 for ; Fri, 16 Aug 2002 12:40:09 -0700 (PDT) Received: from pseudo1.pseudohost.com (64.90.182.6.nyinternet.net [64.90.182.6]) by mx1.FreeBSD.org (Postfix) with SMTP id CF3E643E42 for ; Fri, 16 Aug 2002 12:40:08 -0700 (PDT) (envelope-from j@jfns.net) Received: (qmail 93503 invoked from network); 16 Aug 2002 14:49:41 -0000 Received: from unknown (HELO lappy.jfns.net) (198.31.5.2) by 64.90.182.6.nyinternet.net with SMTP; 16 Aug 2002 14:49:41 -0000 Subject: telnet client environ bug?? $USER variable? From: Javier Frias To: questions@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 16 Aug 2002 15:38:52 -0400 Message-Id: <1029526732.1067.24.camel@lappy.jfns.net> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Am having an issue connecting using the base telnet client to the solaris telnet daemon. The default behavior of telnet is not to send the $USER vairable over to the remote system unless specified, but the freebsd client is still sending it regardless of the options or lack-thereof. Is this a bug someone has experienced, I'm having the issue with the freebsd 4.6 patch level 10. I quote the man page::: ___ MAN (1) TELNET ____ ... environ arguments ... The environ command is used to manipulate the variables that may be sent through the TELNET ENVIRON option. The initial set of variables is taken from the users environment, with only the DISPLAY and PRINTER variables being exported by default. The USER variable is also exported if the -a or -l options are used. ___ END MAN (1) TELNET ____ The only work around is of course, setting USER to $LOGNAME, but I think this is a bug. -Javier Frias PS: Do not reply about using ssh, there are many legacy financial systems in internal networks, where telnet is still being used, plus many systems are not even modern or fast enough for ssh. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message