Skip site navigation (1)Skip section navigation (2)
Date:      16 Aug 2002 15:38:52 -0400
From:      Javier Frias <j@jfns.net>
To:        questions@freebsd.org
Subject:   telnet client environ bug?? $USER variable?
Message-ID:  <1029526732.1067.24.camel@lappy.jfns.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1029526732.1067.24.camel>