Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3D1209B0.A18E355B@iee.org> Date: Thu, 20 Jun 2002 17:58:24 +0100 From: Don Sharp X-Accept-Language: en MIME-Version: 1.0 To: David Starks-Browning CC: gnuwin32 Subject: Re: still cannot telnet to cygwin 1.3.10 References: <20020612053545 DOT GA8753 AT redhat DOT com> <3D077BB4 DOT 852EC8D4 AT iee DOT org> <9516-Thu20Jun2002150244+0100-starksb AT ebi DOT ac DOT uk> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Thanks David I set CYGWIN for inetd via the registry as > > > \Registry > > > Machine > > > SOFTWARE > > > Cygnus Solutions > > > Cygwin > > > Program Options > > > G:\usr\sbin\inetd.exe = binmode tty ntsec It might be that this is no longer a viable approach and has to be set via the system's CYGWIN environment variable. The execute permissions are OK according to "ls" and I had tried 1.3.10 with freshly created passwd and group. What baffles me is that all that is necessary to produce a working arrangement is to substitute 1.3.10 cygwin1.dll by 1.3.9. Anyway, I'll make further experiments soon. TVM Don Sharp David Starks-Browning wrote: > > On NT4, I had to enable ntsec to get this working. Are you sure that > you are setting ntsec "early" enough? Put it in the system > environment and reboot. > > You also have to be careful that permissions are correct. Make sure > that inetd.exe, in.telnetd.exe, cygwin1.dll, ... all have execute > permission for everyone involved ... system account, user, whoever. > > You should also regenerate /etc/passwd and /etc/group with the latest > mkpasswd and mkgroup. > > Those were things I fiddled with when it broke for me, and it's > working now. > > Regards, > David > > On Sunday 16 Jun 02, Gregory Lampshire writes: > > Any resolution to this? I have the same problem on a NT4.0 box. > > > > > > "Don Sharp" wrote in message > > news:3D077BB4 DOT 852EC8D4 AT iee DOT org... > > > Hi Cygwinners > > > > > > I've reviewed problems with inetd via google searches and have tried > > > regenerating my passwd and group files but I am still getting > > > > > > "The application failed to initialize properly (0xc0000022).." > > > > > > on the host machine. > > > > > > I have ntsec set, as has been suggested, via the registry entry. I show > > > the inetd registry entries below. > > > > > > \Registry > > > Machine > > > SYSTEM > > > ControlSet001 > > > Enum > > > Root > > > LEGACY_INETD > > > 0000 > > > Service = inetd > > > DeviceDesc = CYGWIN inetd > > > Control > > > ActiveService = inetd > > > Services > > > inetd > > > ImagePath = REG_EXPAND_SZ g:\usr\sbin\inetd.exe > > > DisplayName = CYGWIN inetd > > > Parameters > > > ConfigFilePath = /etc/inetd.conf > > > ControlSet002 > > > Enum > > > Root > > > LEGACY_INETD > > > 0000 > > > Service = inetd > > > DeviceDesc = CYGWIN inetd > > > Services > > > inetd > > > ImagePath = REG_EXPAND_SZ g:\usr\sbin\inetd.exe > > > DisplayName = CYGWIN inetd > > > Parameters > > > ConfigFilePath = /etc/inetd.conf > > > SOFTWARE > > > Cygnus Solutions > > > Cygwin > > > Program Options > > > G:\usr\sbin\inetd.exe = binmode tty ntsec > > > > > > My cygwin installation is up to date. > > > > > > $ uname -a > > > CYGWIN_NT-4.0 DON 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown > > > > > > Please could someone provide step by step instructions to return my > > > system to providing a working telnet/rsh etc. > > > > > > TIA > > > > > > Don Sharp -- 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/