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 Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 19 Mar 2002 12:41:14 +0000 Message-ID: <6272-Tue19Mar2002124114+0000-starksb@ebi.ac.uk> X-Mailer: emacs 20.7.1 (via feedmail 9-beta-7 I); VM 7.00 under Emacs 20.7.1 From: David Starks-Browning MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: cygwin AT cygwin DOT com Subject: Re: Telneting/ftping to cygwin In-Reply-To: <20020318170848.GA24475@redhat.com> References: <01C1C6BD DOT CE90CFC0 DOT rafael DOT botejara AT sema DOT es> <3C88E12D DOT 2E6DBDCC AT iee DOT org> <20020308192353 DOT Q13590 AT cygbert DOT vinschen DOT de> <3C8C8487 DOT 60308 AT pace DOT co DOT uk> <20020311124504 DOT K29574 AT cygbert DOT vinschen DOT de> <2077-Mon11Mar2002135448+0000-starksb AT ebi DOT ac DOT uk> <20020318170848 DOT GA24475 AT redhat DOT com> On Monday 18 Mar 02, Christopher Faylor writes: > On Mon, Mar 11, 2002 at 01:54:48PM +0000, David Starks-Browning wrote: > >On Monday 11 Mar 02, Corinna Vinschen writes: > >> On Mon, Mar 11, 2002 at 10:18:47AM +0000, John Beranek wrote: > >> > Corinna Vinschen wrote: > >> > >On Fri, Mar 08, 2002 at 04:05:01PM +0000, Don Sharp wrote: > >> > > > >> > >>I can confirm that there is a problem. I telnetted from a linux box to > >> > >>my cygwin on NT4 setup which has an up to date cygwin1.dll (see cygcheck > >> > >>output) > >> > >> > >> > >>On the cygwin side I get a pop-up > >> > >> > >> > >>bash.exe "The application failed to initialise properly (0x0000022) > > > >> Well, a "me too" isn't actually helpful. Helpful would be if > >> somebody who has that problem would debug that. Gdb and strace > >> are your friend. > > > >I have the same problem. I notice it's only been reported on NT 4. > >Corinna and Chris, are you unable to reproduce it on NT4, or are you > >not running NT 4? > > It just occurred to me that this could be a protection problem, either > with the cygwin DLL or with one of the executables that are being run. > > Do you have the same problem when you type in a command window: > > set CYGWIN=ntsec > bash > ls -l /bin/cygwin1.dll > > ? > > You should see that cygwin1.dll is executable in this scenario. I did not notice any obvious permission problems when I enabled ntsec. Everything I found showed up as mode 777, at least, everything I looked at in /bin, /lib, /etc (ssh host keys were 700, but we're not talking about ssh here). However, I did discover that if I enable ntsec, then I can successfully login! I've made several superstitious changes to /etc/passwd, /etc/group, but the bottom line is I can now login (telnet and ssh) only with ntsec set. If I disable ntsec, I get the usual: System Process - Application Error : The application failed to initialize properly (0xc0000022). Click on OK to terminate the application. But only with a domain account. If I login to a local account, it succeeds, even without ntsec. So now I'm running with ntsec. Chris and Corinna (when back from vacation), have you tried duplicating this with ntsec disabled, logging into a domain account? (BTW, I am quite willing to live with ntsec enabled from now on.) Thanks, 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/