This is the mail archive of the
mailing list for the Cygwin project.
Bug: logging in via telnet: no user environment variables; cscript can't be executed
- From: "Andreas Wicker" <Andreas dot Wicker at ids dot de>
- To: <cygwin at cygwin dot com>
- Date: Tue, 6 Aug 2002 14:44:22 +0200
- Subject: Bug: logging in via telnet: no user environment variables; cscript can't be executed
When I log into a computer via cygwin telnet, I do get the system
But I do not get the user environment variables.
This is true for at least the following cygwin versions:
CYGWIN_NT-5.0 HLNX-SRV 1.3.12(0.54/3/2) 2002-07-03 16:42 and
CYGWIN_NT-4.0 MMI-PCWIC 1.3.5(0.47/3/2) 2001-11-11 19:01
I'd propose to build it into cygwin that you get the user user variables
when being logged in via telnet.
A workaround that I've used for this consisted of a VisualBasic-Script, that
was called in the /etc/profile and that copied the
a little file which then was sourced from the /etc/profile.
This worked well with the cygwin1.dll 1.3.5, but does not work anymore with
1.3.12. The Visual-Basic-Interpreter cscript.exe that reads the user
can not be executed when logged in via telnet with cygwin1.dll 1.3.12.
When I try to execute cscript.exe when I'm logged in via telnet,
an error message window pops up on the server that says something like
Title: "cscript.exe Error in Application"
Text: "The application could not be initialized correctly (0xc0000005) Click
on OK for terminating the
(As I use a german windows, the original error msg is in german; this
translation is by me and
may differ from the original english message.)
The cscript-Bug is due to the cygwin1.dll, not to the telnet package or
When I copy only the old cygwin1.dll 1.3.5 over a
cscript may be started.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html