Re: problem with telnet and ftp server on win 2K
On Thu, 02 May 2002 23:44:50 -0500 Dave Bodenstab <[EMAIL PROTECTED]> wrote: > David Starks-Browning wrote: > > > > This has been discussed on the mailing list before, search the > > archives. I noticed it with cygwin-1.3.10 on NT4, and found that > > enabling ntsec solved the problem for me. But there are lots of > > things to check, like the correctness of your /etc/passwd and > > /etc/group files, rights given to the inetd service account, > > execute permissions on the applications and cygwin1.dll, ... > > > > It's a mystery, to me, why it fails without ntsec but works with > > ntsec, all other things being the same. But I've stopped worrying > > about it, now that I use ntsec. > I'm totally new to nt4, so could I ask what thingy I click and > what to change to enable this ntsec thing? The previous poster > mentioned that he'd been able to use the control panel, but I see > no cygwin icon when I bring up the control panel... perhaps he's > not using nt. Is the registry thing what I need to change? If so, > how does one change it? > > If this stuff is discussed in a beginners guide to nt, or a help > file that I just need to read, then a pointer would be very welcome. It would be useful to scan the documentation at http://cygwin.com/ . Some of your questions are answered there. For this, look for the CYGWIN environment variable. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: problem with telnet and ftp server on win 2K
David Starks-Browning wrote: > > This has been discussed on the mailing list before, search the > archives. I noticed it with cygwin-1.3.10 on NT4, and found that > enabling ntsec solved the problem for me. But there are lots of > things to check, like the correctness of your /etc/passwd and > /etc/group files, rights given to the inetd service account, > execute permissions on the applications and cygwin1.dll, ... > > It's a mystery, to me, why it fails without ntsec but works with > ntsec, all other things being the same. But I've stopped worrying > about it, now that I use ntsec. > I'm totally new to nt4, so could I ask what thingy I click and what to change to enable this ntsec thing? The previous poster mentioned that he'd been able to use the control panel, but I see no cygwin icon when I bring up the control panel... perhaps he's not using nt. Is the registry thing what I need to change? If so, how does one change it? If this stuff is discussed in a beginners guide to nt, or a help file that I just need to read, then a pointer would be very welcome. Thanks. Dave Bodenstab -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: problem with telnet and ftp server on win 2K
Hi David, Thanks for the info. I created a system-wide environment variable using the control panel called "CYGWIN" with a value of "ntsec" and rebooted, and now telnet and ftp are working fine! Thanks for your help. /John >From: David Starks-Browning <[EMAIL PROTECTED]> >To: "John Vincent" <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: problem with telnet and ftp server on win 2K >Date: Tue, 30 Apr 2002 11:41:50 +0100 > >On Tuesday 30 Apr 02, John Vincent writes: > > I've discovered that I cannot successfully telnet into my Win 2K box >using > > the cygwin inetd, there is also a problem with the ftp service. I've > > installed inetd as per instructions, and installed it as a service. > > > > When I use telnet to attempt to log in, everything goes OK until the >point > > where a shell should be started, at that point I get a pop-up box >appearing > > on my Win 2K screen with the title "bash.exe - Application Error" and >the > > text "The application failed to initialize properly (0xc022). Click >on > > OK to terminate the application." When I click on OK my telnet session >ends > > with the message "Connection closed by foreign host." > >This has been discussed on the mailing list before, search the >archives. I noticed it with cygwin-1.3.10 on NT4, and found that >enabling ntsec solved the problem for me. But there are lots of >things to check, like the correctness of your /etc/passwd and >/etc/group files, rights given to the inetd service account, >execute permissions on the applications and cygwin1.dll, ... > >It's a mystery, to me, why it fails without ntsec but works with >ntsec, all other things being the same. But I've stopped worrying >about it, now that I use ntsec. > >Good luck. Report back if you have something new to add. > >Regards, >David > _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
problem with telnet and ftp server on win 2K
On Tuesday 30 Apr 02, John Vincent writes: > I've discovered that I cannot successfully telnet into my Win 2K box using > the cygwin inetd, there is also a problem with the ftp service. I've > installed inetd as per instructions, and installed it as a service. > > When I use telnet to attempt to log in, everything goes OK until the point > where a shell should be started, at that point I get a pop-up box appearing > on my Win 2K screen with the title "bash.exe - Application Error" and the > text "The application failed to initialize properly (0xc022). Click on > OK to terminate the application." When I click on OK my telnet session ends > with the message "Connection closed by foreign host." This has been discussed on the mailing list before, search the archives. I noticed it with cygwin-1.3.10 on NT4, and found that enabling ntsec solved the problem for me. But there are lots of things to check, like the correctness of your /etc/passwd and /etc/group files, rights given to the inetd service account, execute permissions on the applications and cygwin1.dll, ... It's a mystery, to me, why it fails without ntsec but works with ntsec, all other things being the same. But I've stopped worrying about it, now that I use ntsec. Good luck. Report back if you have something new to add. Regards, David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
problem with telnet and ftp server on win 2K
I've discovered that I cannot successfully telnet into my Win 2K box using the cygwin inetd, there is also a problem with the ftp service. I've installed inetd as per instructions, and installed it as a service. When I use telnet to attempt to log in, everything goes OK until the point where a shell should be started, at that point I get a pop-up box appearing on my Win 2K screen with the title "bash.exe - Application Error" and the text "The application failed to initialize properly (0xc022). Click on OK to terminate the application." When I click on OK my telnet session ends with the message "Connection closed by foreign host." When I use ftp to connect to the Win 2K box, the connection succeeds, and I can transfer files in both directions, but when I use the DIR command, I get a pop-up box appearing on the Win 2K screen exactly as for telnet described above, except that the first word of the title is "ls.exe" instead of "bash.exe". If you have any information, or if you can confirm that this is a bug, please let me know. Thanks. _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/