public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Cygwin commands crashes after ssh login
@ 2001-01-17 13:12 frank.palazzolo
  2001-01-18  6:07 ` Corinna Vinschen
  2001-01-25 10:37 ` Erdely, Michael
  0 siblings, 2 replies; 32+ messages in thread
From: frank.palazzolo @ 2001-01-17 13:12 UTC (permalink / raw)
  To: cygwin

Hello,

I'm a newbie to cygwin, but I have this exact problem with sshd, and a little more info on it.

I'm running Win2K SP1 and using inetd to launch sshd.
I rebuilt bash.exe from the sources and the problem disappeared!
However, I also tried replacing the shell of the logon user with /bin/sh and the problem still occurs.  I haven't rebuilt sh.exe.

Could there be something wrong with the bash.exe in the binary distribution..?  

By the way, it seems that a few lines failed in the configure.in for bash:

dnl Use GNU m4 macros to get the distribution and patchlevel information
dnl into configure without requiring the files to be distributed
[BASHVERS=]dnl
esyscmd(cat _distribution)dnl
[BASHPATCH]dnl
esyscmd(cat _patchlevel)dnl

I had to to hack those two lines to get bash to build, is that normal?

Thanks,
Frank Palazzolo

frank.palazzolo@autodesk.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-17 13:12 Cygwin commands crashes after ssh login frank.palazzolo
@ 2001-01-18  6:07 ` Corinna Vinschen
  2001-01-25 10:37 ` Erdely, Michael
  1 sibling, 0 replies; 32+ messages in thread
From: Corinna Vinschen @ 2001-01-18  6:07 UTC (permalink / raw)
  To: cygwin

On Wed, Jan 17, 2001 at 01:11:53PM -0800, frank.palazzolo@autodesk.com wrote:
> Hello,
> 
> I'm a newbie to cygwin, but I have this exact problem with sshd, and a little more info on it.
> 
> I'm running Win2K SP1 and using inetd to launch sshd.
> I rebuilt bash.exe from the sources and the problem disappeared!
> However, I also tried replacing the shell of the logon user with /bin/sh and the problem still occurs.  I haven't rebuilt sh.exe.
> 
> Could there be something wrong with the bash.exe in the binary distribution..?  
I tried it and I *sigh* still can't reproduce that. When I'm using
bash or ash from the net distro as login shell, everything works.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-17 13:12 Cygwin commands crashes after ssh login frank.palazzolo
  2001-01-18  6:07 ` Corinna Vinschen
@ 2001-01-25 10:37 ` Erdely, Michael
  2001-01-25 12:25   ` Ross Smith
  1 sibling, 1 reply; 32+ messages in thread
From: Erdely, Michael @ 2001-01-25 10:37 UTC (permalink / raw)
  To: cygwin

Frank's recompilation success has been repeated.  And, I recompiled ASH as
well.  Problem is gone on three machines.

Thanks, Frank (and Yadin).

If you're interested in pre-re-compiled binaries, check out
ftp://ftp.erdelynet.com/ftp/downloads/bash.exe.gz and
ftp://ftp.erdelynet.com/ftp/downloads/sh.exe.gz .  If you want some
information about installing these files, look at
http://mike.erdelynet.com/sshd-error.asp#solution .

One note, when I re-compiled bash, I had to create _distribution and
_patchlevel files to work.  After doing so, though, I was successful.

Please let me know if you have any questions/comments,
Mike Erdely
mailto:mike@erdelynet.com
http://mike.erdelynet.com/

----- Original Message -----
From: <frank.palazzolo@autodesk.com>
To: <cygwin@cygwin.com>
Sent: Wednesday, January 17, 2001 4:11 PM
Subject: Re: Cygwin commands crashes after ssh login


>
> Hello,
>
> I'm a newbie to cygwin, but I have this exact problem with sshd, and a
little more info on it.
>
> I'm running Win2K SP1 and using inetd to launch sshd.
> I rebuilt bash.exe from the sources and the problem disappeared!
> However, I also tried replacing the shell of the logon user with /bin/sh
and the problem still occurs.  I haven't rebuilt sh.exe.
>
> Could there be something wrong with the bash.exe in the binary
distribution..?
>
> By the way, it seems that a few lines failed in the configure.in for bash:
>
> dnl Use GNU m4 macros to get the distribution and patchlevel information
> dnl into configure without requiring the files to be distributed
> [BASHVERS=]dnl
> esyscmd(cat _distribution)dnl
> [BASHPATCH]dnl
> esyscmd(cat _patchlevel)dnl
>
> I had to to hack those two lines to get bash to build, is that normal?
>
> Thanks,
> Frank Palazzolo
>
> frank.palazzolo@autodesk.com
>
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-25 10:37 ` Erdely, Michael
@ 2001-01-25 12:25   ` Ross Smith
  2001-01-25 12:34     ` Larry Hall (RFK Partners, Inc)
  2001-01-25 13:36     ` Erdely, Michael
  0 siblings, 2 replies; 32+ messages in thread
From: Ross Smith @ 2001-01-25 12:25 UTC (permalink / raw)
  To: cygwin

"Erdely, Michael" wrote:
> 
> Frank's recompilation success has been repeated.  And, I recompiled ASH as
> well.  Problem is gone on three machines.
> 
> Thanks, Frank (and Yadin).
> 
> If you're interested in pre-re-compiled binaries, check out
> ftp://ftp.erdelynet.com/ftp/downloads/bash.exe.gz and
> ftp://ftp.erdelynet.com/ftp/downloads/sh.exe.gz .  If you want some
> information about installing these files, look at
> http://mike.erdelynet.com/sshd-error.asp#solution .
> 
> One note, when I re-compiled bash, I had to create _distribution and
> _patchlevel files to work.  After doing so, though, I was successful.
> 
> Please let me know if you have any questions/comments,
> Mike Erdely
> mailto:mike@erdelynet.com
> http://mike.erdelynet.com/

I downloaded your binaries and was about to install Cygwin 1.1.7 and try
them, until I cycled through the versions available in the Setup list
and found that the mirrors are no longer carrying 1.1.5, only 1.1.6 and
1.1.7. That means that, if I try it and it doesn't work, I have no way
to revert to the last working version. I can't risk that.

To the Cygwin/Red Hat people: Please, could you make 1.1.5 available
until the sshd problem is resolved?

-- 
Ross Smith <ross.s@ihug.co.nz> The Internet Group, Auckland, New Zealand
========================================================================
          "Normally he was insane, but he had lucid moments
          when he was merely stupid."     -- Heinrich Heine

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-25 12:25   ` Ross Smith
@ 2001-01-25 12:34     ` Larry Hall (RFK Partners, Inc)
  2001-01-25 13:57       ` Ross Smith
  2001-01-25 13:36     ` Erdely, Michael
  1 sibling, 1 reply; 32+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-01-25 12:34 UTC (permalink / raw)
  To: Ross Smith, cygwin

At 03:25 PM 1/25/2001, Ross Smith wrote:
>"Erdely, Michael" wrote:
> > 
> > Frank's recompilation success has been repeated.  And, I recompiled ASH as
> > well.  Problem is gone on three machines.
> > 
> > Thanks, Frank (and Yadin).
> > 
> > If you're interested in pre-re-compiled binaries, check out
> > ftp://ftp.erdelynet.com/ftp/downloads/bash.exe.gz and
> > ftp://ftp.erdelynet.com/ftp/downloads/sh.exe.gz .  If you want some
> > information about installing these files, look at
> > http://mike.erdelynet.com/sshd-error.asp#solution .
> > 
> > One note, when I re-compiled bash, I had to create _distribution and
> > _patchlevel files to work.  After doing so, though, I was successful.
> > 
> > Please let me know if you have any questions/comments,
> > Mike Erdely
> > mailto:mike@erdelynet.com
> > http://mike.erdelynet.com/
>
>I downloaded your binaries and was about to install Cygwin 1.1.7 and try
>them, until I cycled through the versions available in the Setup list
>and found that the mirrors are no longer carrying 1.1.5, only 1.1.6 and
>1.1.7. That means that, if I try it and it doesn't work, I have no way
>to revert to the last working version. I can't risk that.
>
>To the Cygwin/Red Hat people: Please, could you make 1.1.5 available
>until the sshd problem is resolved?


You can always save your current cygwin1.dll as a backup...



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-25 12:25   ` Ross Smith
  2001-01-25 12:34     ` Larry Hall (RFK Partners, Inc)
@ 2001-01-25 13:36     ` Erdely, Michael
  2001-01-25 14:30       ` Earnie Boyd
  1 sibling, 1 reply; 32+ messages in thread
From: Erdely, Michael @ 2001-01-25 13:36 UTC (permalink / raw)
  To: cygwin

Look at http://mike.erdelynet.com/sshd-error.asp#solution .  This will
explain how to install cygwin-1.1.5-7.

-ME

----- Original Message -----
From: "Ross Smith" <ross.s@ihug.co.nz>
To: <cygwin@cygwin.com>
Sent: Thursday, January 25, 2001 3:25 PM
Subject: Re: Cygwin commands crashes after ssh login


> "Erdely, Michael" wrote:
> >
> > Frank's recompilation success has been repeated.  And, I recompiled ASH
as
> > well.  Problem is gone on three machines.
> >
> > Thanks, Frank (and Yadin).
> >
> > If you're interested in pre-re-compiled binaries, check out
> > ftp://ftp.erdelynet.com/ftp/downloads/bash.exe.gz and
> > ftp://ftp.erdelynet.com/ftp/downloads/sh.exe.gz .  If you want some
> > information about installing these files, look at
> > http://mike.erdelynet.com/sshd-error.asp#solution .
> >
> > One note, when I re-compiled bash, I had to create _distribution and
> > _patchlevel files to work.  After doing so, though, I was successful.
> >
> > Please let me know if you have any questions/comments,
> > Mike Erdely
> > mailto:mike@erdelynet.com
> > http://mike.erdelynet.com/
>
> I downloaded your binaries and was about to install Cygwin 1.1.7 and try
> them, until I cycled through the versions available in the Setup list
> and found that the mirrors are no longer carrying 1.1.5, only 1.1.6 and
> 1.1.7. That means that, if I try it and it doesn't work, I have no way
> to revert to the last working version. I can't risk that.
>
> To the Cygwin/Red Hat people: Please, could you make 1.1.5 available
> until the sshd problem is resolved?
>
> --
> Ross Smith <ross.s@ihug.co.nz> The Internet Group, Auckland, New Zealand
> ========================================================================
>           "Normally he was insane, but he had lucid moments
>           when he was merely stupid."     -- Heinrich Heine
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-25 12:34     ` Larry Hall (RFK Partners, Inc)
@ 2001-01-25 13:57       ` Ross Smith
  2001-01-25 15:00         ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 32+ messages in thread
From: Ross Smith @ 2001-01-25 13:57 UTC (permalink / raw)
  To: cygwin

"Larry Hall (RFK Partners, Inc)" wrote:
> 
> At 03:25 PM 1/25/2001, Ross Smith wrote:
> >
> >I downloaded your binaries and was about to install Cygwin 1.1.7 and try
> >them, until I cycled through the versions available in the Setup list
> >and found that the mirrors are no longer carrying 1.1.5, only 1.1.6 and
> >1.1.7. That means that, if I try it and it doesn't work, I have no way
> >to revert to the last working version. I can't risk that.
> >
> >To the Cygwin/Red Hat people: Please, could you make 1.1.5 available
> >until the sshd problem is resolved?
> 
> You can always save your current cygwin1.dll as a backup...

Oh, thanks. I didn't realise that was all that was involved; I'd been
assuming that the package called "Cygwin" would be a big chunk of the
system with a whole bunch of files.

-- 
Ross Smith <ross.s@ihug.co.nz> The Internet Group, Auckland, New Zealand
========================================================================
          "Normally he was insane, but he had lucid moments
          when he was merely stupid."     -- Heinrich Heine

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-25 13:36     ` Erdely, Michael
@ 2001-01-25 14:30       ` Earnie Boyd
  2001-01-25 14:52         ` Erdely, Michael
  0 siblings, 1 reply; 32+ messages in thread
From: Earnie Boyd @ 2001-01-25 14:30 UTC (permalink / raw)
  To: Erdely, Michael; +Cc: cygwin

"Erdely, Michael" wrote:
> 
> Look at http://mike.erdelynet.com/sshd-error.asp#solution .  This will
> explain how to install cygwin-1.1.5-7.
> 

And if you have problems, please email Mike privately.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-25 14:30       ` Earnie Boyd
@ 2001-01-25 14:52         ` Erdely, Michael
  2001-01-25 16:30           ` Earnie Boyd
  0 siblings, 1 reply; 32+ messages in thread
From: Erdely, Michael @ 2001-01-25 14:52 UTC (permalink / raw)
  To: Earnie Boyd

Is there a reason 1. that you sent this to me directly? and 2. why you felt
the need to say anything at all?

-ME

----- Original Message -----
From: "Earnie Boyd" <earnie_boyd@yahoo.com>
To: "Erdely, Michael" <mike@erdelynet.com>
Cc: <cygwin@cygwin.com>
Sent: Thursday, January 25, 2001 5:31 PM
Subject: Re: Cygwin commands crashes after ssh login


> "Erdely, Michael" wrote:
> >
> > Look at http://mike.erdelynet.com/sshd-error.asp#solution .  This will
> > explain how to install cygwin-1.1.5-7.
> >
>
> And if you have problems, please email Mike privately.
>
> Earnie.
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-25 13:57       ` Ross Smith
@ 2001-01-25 15:00         ` Larry Hall (RFK Partners, Inc)
  0 siblings, 0 replies; 32+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-01-25 15:00 UTC (permalink / raw)
  To: Ross Smith, cygwin

At 04:57 PM 1/25/2001, Ross Smith wrote:
>"Larry Hall (RFK Partners, Inc)" wrote:
> > 
> > At 03:25 PM 1/25/2001, Ross Smith wrote:
> > >
> > >I downloaded your binaries and was about to install Cygwin 1.1.7 and try
> > >them, until I cycled through the versions available in the Setup list
> > >and found that the mirrors are no longer carrying 1.1.5, only 1.1.6 and
> > >1.1.7. That means that, if I try it and it doesn't work, I have no way
> > >to revert to the last working version. I can't risk that.
> > >
> > >To the Cygwin/Red Hat people: Please, could you make 1.1.5 available
> > >until the sshd problem is resolved?
> > 
> > You can always save your current cygwin1.dll as a backup...
>
>Oh, thanks. I didn't realise that was all that was involved; I'd been
>assuming that the package called "Cygwin" would be a big chunk of the
>system with a whole bunch of files.



There's more in the package but for your purposes, this is the most important
change.  You probably won't notice any difference in anything else.  However,
if you're concerned (paraniod?;-)), you can always backup everything that 
comes in the 1.1.7 cygwin tar ball and then you'll have exactly what was in 
1.1.5.



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-25 14:52         ` Erdely, Michael
@ 2001-01-25 16:30           ` Earnie Boyd
  0 siblings, 0 replies; 32+ messages in thread
From: Earnie Boyd @ 2001-01-25 16:30 UTC (permalink / raw)
  To: Erdely, Michael; +Cc: Earnie Boyd

"Erdely, Michael" wrote:
> 
> Is there a reason 1. that you sent this to me directly? 

I `Replied All' you just happened to be the To and the list the Cc.

> and 2. why you felt the need to say anything at all?
> 

This list supports the Cygwin distributions available via the "Install
Cygwin Now" icon at http://cygwin.com .  If you're providing independent
distributions of the cygwin1.dll then you must resolve the problems.  If
someone has a problem with older versions of Cygwin then the immediate
response will be to update via the "Install Cygwin Now" icon.  If
someone acknowledges that they received the package from a private site
they will be immediately redirected to the site owner.  I was being
proactive.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-18  7:23 Yadin Goldschmidt
@ 2001-01-18  8:18 ` Corinna Vinschen
  0 siblings, 0 replies; 32+ messages in thread
From: Corinna Vinschen @ 2001-01-18  8:18 UTC (permalink / raw)
  To: cygwin

On Thu, Jan 18, 2001 at 10:22:55AM -0500, Yadin Goldschmidt wrote:
> 
> Corinna,
> I tried both -1 and -2. I think the problem is with the cygwin dll
> since if I use 1.1.5 the problem disappears. What is also strange is
> that if I run sshd -d from a shell the problem does not occur. It only 
> occurs with sshd run from srvany. Please read carefully my setup
> 1., 2., 3. 4. in my previous mail, maybe you can reproduce it.

Same here. I _did_ read your mail!

> The CYGWIN variable ntsec, tty is defined in NT Control Panel ->system 
> ->environment. 

Ditto. (CYGWIN = binmode tty ntsec)

> ->environment. The files ssh_host_key and ssh_host_dsa_key have permissions 
> -rw------- and belong to user.Adminstrators.

Ditto.

No problem here using different accounts, using tcsh or bash as
login shell.

Note that I reinstalled Cygwin from scratch here! On my developer box!
I'm using the old ssh key files of course but everything else is fresh
and new including all mount points (now according to the installation
default). I'm using the 20001221 version of OpenSSH, though, which you
can install using setup.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
@ 2001-01-18  7:23 Yadin Goldschmidt
  2001-01-18  8:18 ` Corinna Vinschen
  0 siblings, 1 reply; 32+ messages in thread
From: Yadin Goldschmidt @ 2001-01-18  7:23 UTC (permalink / raw)
  To: cygwin

Corinna,
I tried both -1 and -2. I think the problem is with the cygwin dll
since if I use 1.1.5 the problem disappears. What is also strange is
that if I run sshd -d from a shell the problem does not occur. It only 
occurs with sshd run from srvany. Please read carefully my setup
1., 2., 3. 4. in my previous mail, maybe you can reproduce it.
The CYGWIN variable ntsec, tty is defined in NT Control Panel ->system 
->environment. The files ssh_host_key and ssh_host_dsa_key have permissions 
-rw------- and belong to user.Adminstrators.
What is also interesting is that after the exception occurs I can
still run cygwin commands and the connection is not lost.

Yadin.






>On Wed, Jan 17, 2001 at 10:08:08AM -0500, Yadin Goldschmidt wrote:
>SSH Version OpenSSH_2.3.0p1, protocol versions 1.5/2.0.

>Which one? -1 or -2? Did you try both? Did you try the
>experimental version 20001221?

>Corinna
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-17  7:08 Yadin Goldschmidt
@ 2001-01-18  6:10 ` Corinna Vinschen
  0 siblings, 0 replies; 32+ messages in thread
From: Corinna Vinschen @ 2001-01-18  6:10 UTC (permalink / raw)
  To: cygwin

On Wed, Jan 17, 2001 at 10:08:08AM -0500, Yadin Goldschmidt wrote:
> SSH Version OpenSSH_2.3.0p1, protocol versions 1.5/2.0.

Which one? -1 or -2? Did you try both? Did you try the
experimental version 20001221?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* RE: Cygwin commands crashes after ssh login
  2001-01-17 13:43 frank.palazzolo
@ 2001-01-17 13:54 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 0 replies; 32+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-01-17 13:54 UTC (permalink / raw)
  To: frank.palazzolo, cygwin

At 04:42 PM 1/17/2001, frank.palazzolo@autodesk.com wrote:

> >/bin/sh is bash in the standard gnu dist.. :-) So copy your compiled
> >bash to /bin/sh.. 
> >
> >        /Andy
>
>Thanks Andy,
>
>That's what I thought too, but when the file sizes were so different I looked around and realized my sh.exe came from ash-20001002.tar.gz, which is a different shell and codebase, I guess.


Absolutely.  In Cygwin /bin/sh is NOT equivalent to /bin/bash.  /bin/sh is 
ash, which is an optimized version of the bourne shell.  Its used instead of
bash for performance reasons (mostly noticeable in configures).  However 
ash does seem to have more bugs than bash (if the issues that arise on this
list are any indication).  While the bugs that have been found have been 
rapidly fixed, how many are left is uncertain (as always).  If shell 
performance is not you're major concern, you can use bash as /bin/sh.  
However, recompiled or not, any version of bash is different enough from 
ash to have a strong potential for reacting differently in any particular
case.  Usually this means its more forgiving/works better.  YMMV.



  

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* RE: Cygwin commands crashes after ssh login
@ 2001-01-17 13:43 frank.palazzolo
  2001-01-17 13:54 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 1 reply; 32+ messages in thread
From: frank.palazzolo @ 2001-01-17 13:43 UTC (permalink / raw)
  To: cygwin

>/bin/sh is bash in the standard gnu dist.. :-) So copy your compiled
>bash to /bin/sh.. 
>
>        /Andy

Thanks Andy,

That's what I thought too, but when the file sizes were so different I looked around and realized my sh.exe came from ash-20001002.tar.gz, which is a different shell and codebase, I guess.

-Frank



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
@ 2001-01-17  7:08 Yadin Goldschmidt
  2001-01-18  6:10 ` Corinna Vinschen
  0 siblings, 1 reply; 32+ messages in thread
From: Yadin Goldschmidt @ 2001-01-17  7:08 UTC (permalink / raw)
  To: cygwin

Corina,
Here is the problem: I am running NT4.o sp6. cygwin 1.1.7
1. Im running sshd using srvany from a user who is part of administrator 
group
2. This user has all the additional previleges.
3. There is a line in NT environment:
CYGWIN = ntsec tty
4. The files in /etc belong to user.Administrators where 'user' is
the user account from which sshd is run.
5. Everything is fine when I login as that user and use password 
authentication. But when I login usind a different account an exception 
occurs. Here is the debug from ssh -v. I only replaced the machine name by 
XXX.XXX

$ssh -v XXX.XXX -l Administrator
SSH Version OpenSSH_2.3.0p1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /etc/ssh_config
debug: Applying options for *
debug: Seeding random number generator
debug: ssh_connect: getuid 1000 geteuid 1000 anon 0
debug: Connecting to XXX.XXX [XXX.XXX.XXX.XX] port 22.
debug: Seeding random number generator
debug: Allocated local port 955.
debug: Connection established.
debug: Remote protocol version 1.99, remote software version OpenSSH_2.3.0p1
debug: no match: OpenSSH_2.3.0p1
debug: Local version string SSH-1.5-OpenSSH_2.3.0p1
debug: Waiting for server public key.
debug: Received server public key (768 bits) and host key (1024 bits).
debug: Host 'XXX.XXX' is known and matches the RSA host key.

debug: Seeding random number generator
debug: Encryption type: 3des
debug: Sent encrypted session key.
debug: Installing crc compensation attack detector.
debug: Received encrypted confirmation.
debug: Doing password authentication.
Administrator@XXX.XXX's password:
debug: Requesting pty.
debug: Requesting shell.
debug: Entering interactive session.
      0 [main] ?a 0 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
Exception: STATUS_ACCESS_VIOLATION at eip=61001B87
eax=00000069 ebx=352E3673 ecx=00000000 edx=352E367B esi=00000000 
edi=0240FF74
ebp=0240FC2C esp=0240FECC program=?a
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0240FC2C  61001B87  (00000000, 00000000, 00000000, 00000000)
0240FEF4  61001B87  (00000038, 61000001, 0240FF44, 610032C9)
0240FF44  610033D8  (004072CC, 6107C13C, 00000000, 00000000)
0240FF74  61003AAD  (00000000, 00000000, 00000000, 00000000)
0240FF94  61003AEC  (00407230, 004011D0, 0240FFC0, 00401038)
0240FFA4  00405206  (004011D0, 8011C6C8, 77F1B9E7, FFFFFFFE)
0240FFC0  00401038  (00000000, 00000000, 7FFDF000, 7FFDF000)
0240FFF0  77F1B9EA  (00401000, 00000000, 000000B0, 00000100)

In addition a Dr. Watson box appears with the following information:
id.exe
Exception: access violation (0xc0000005), Address 0x610045f4

Yadin.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-17  5:20                             ` Egor Duda
@ 2001-01-17  5:29                               ` Christopher Faylor
  0 siblings, 0 replies; 32+ messages in thread
From: Christopher Faylor @ 2001-01-17  5:29 UTC (permalink / raw)
  To: Christopher Faylor

On Wed, Jan 17, 2001 at 04:18:51PM +0300, Egor Duda wrote:
>CF> You're starting a dangerous trend, Egor.  Watch out.
>
>:-)  Do   you  mean  i'm provoking "DDoS attack" on sourceware cvs, as
>everyone immediately start checking out cygwin sources? :-)

Hmm.  We're in the slow process of moving sources.redhat.com to a T3.
Maybe that would be just the impetus we need to finally finish the
move.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-16  9:28                           ` Christopher Faylor
@ 2001-01-17  5:20                             ` Egor Duda
  2001-01-17  5:29                               ` Christopher Faylor
  0 siblings, 1 reply; 32+ messages in thread
From: Egor Duda @ 2001-01-17  5:20 UTC (permalink / raw)
  To: Christopher Faylor

Hi!

Tuesday, 16 January, 2001 Christopher Faylor cgf@redhat.com wrote:

CF> On Tue, Jan 16, 2001 at 08:08:18PM +0300, Egor Duda wrote:
>>btw, did you notice that if you try to login to _different_ account in
>>this configuration, sending SIGINT by pressing Ctrl-C from client side
>>doesn't work?
>>
>>i've traced this situation down some time ago, and the reason appeared
>>to  be  with  access  rights  to  "sigcatch"  semaphore.  is there any
>>workaround (except starting sshd under LocalSystem)?

CF> What's this?  Actual information from someone who has *debugged* the
CF> problem?

it  turned  out  that  i've actually skipped  the  most important part
of debugging  process  --  thinking  an acquired result over :) Thanks
to Corinna's hint, i see now that cygwin behaves exactly as it should.

CF> Surely you meant to say something like "I know, I can't even use
CF> CTRL-C!  What's up with that?  I had to drop back to B19!"  Mentioning
CF> low level things like the "sigcatch" semaphore is way too much info.

i've almost sent annotated strace log along with my letter, by stopped
myself. *that* would be dangerous trend indeed :-)

CF> You're starting a dangerous trend, Egor.  Watch out.

:-)  Do   you  mean  i'm provoking "DDoS attack" on sourceware cvs, as
everyone immediately start checking out cygwin sources? :-)

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-17  3:57                           ` Corinna Vinschen
@ 2001-01-17  5:20                             ` Egor Duda
  0 siblings, 0 replies; 32+ messages in thread
From: Egor Duda @ 2001-01-17  5:20 UTC (permalink / raw)
  To: Corinna Vinschen

Hi!

Wednesday, 17 January, 2001 Corinna Vinschen cygwin@cygwin.com wrote:

>> btw, did you notice that if you try to login to _different_ account in
>> this configuration, sending SIGINT by pressing Ctrl-C from client side
>> doesn't work?

CV> Works for me but my account used for starting sshd is in the local
CV> admin group. Could you test this in your environment, too, and
CV> report if that solves your problem?

Uh,   you're  right. i was starting inetd from non-admin account. after
restarting it from any admin account everything works fine.

i've  just realized that doing otherwise, cygwin would allow one process
to  send  signals  to  other  process  started from different account.
unices don't allow this, and neither should cygwin.

i think you can add something like this to README file

== openssh-*.*.*.README ==
...
- If you want to be able to login to different user accounts you'll
  have to start sshd under system account or any other account that
  is able to switch user context. Note that administrators are _not_
  able to do that by default! You'll have to give the following
  special user rights to the user:
  "Act as part of the operating system"
  "Replace process level token"
  "Increase quotas"
  and if used via service manager
  "Logon as a service".

+  This user should also be a member of local "Administrators" group.
...
==========================

or   "we   recommend   you   to   make  this  user a member of  local
"Administrators" group, otherwise Ctrl-C won't work!" :-)

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-16  7:56                           ` Wei Ku
  2001-01-16  8:02                             ` Christopher Faylor
@ 2001-01-17  4:04                             ` Corinna Vinschen
  1 sibling, 0 replies; 32+ messages in thread
From: Corinna Vinschen @ 2001-01-17  4:04 UTC (permalink / raw)
  To: cygwin

On Tue, Jan 16, 2001 at 10:51:01AM -0500, Wei Ku wrote:
> > Following up on one tiny part of the above, when you say '... from
> > inetd _using LocalSystem account_', what does that last bit mean?  I
> > don't have a LocalSystem user in either /etc/passwd or Win2K Users. . .

LocalSystem == SYSTEM.

> I have exactly the same question.  Would someone please post a more
> pedagogical procedure of creating the LocalSystem account in W2K?  Unlike in

Nothing to create. SYSTEM already exists. It never shows up in any
user management console.

> the case of NT4, I found no place to specify any "special rights" for the
> user.

It's a MMC snap-in. There are three of them for local, domain and
domain controller rights.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-16  9:11                         ` Egor Duda
  2001-01-16  9:28                           ` Christopher Faylor
@ 2001-01-17  3:57                           ` Corinna Vinschen
  2001-01-17  5:20                             ` Egor Duda
  1 sibling, 1 reply; 32+ messages in thread
From: Corinna Vinschen @ 2001-01-17  3:57 UTC (permalink / raw)
  To: cygwin

On Tue, Jan 16, 2001 at 08:08:18PM +0300, Egor Duda wrote:
> Hi!
> 
> Tuesday, 16 January, 2001 Corinna Vinschen cygwin@cygwin.com wrote:
> 
> CV> Personally I'm using tcsh and bash as login shell. I'm using W2K SP1
> CV> with Cygwin 1.1.7, sshd is started via SRVANY under my own account
> CV> which has the appropriate user rights and I don't have any problems
> CV> using ssh and sshd on the box.
> 
> btw, did you notice that if you try to login to _different_ account in
> this configuration, sending SIGINT by pressing Ctrl-C from client side
> doesn't work?
> 
> i've traced this situation down some time ago, and the reason appeared
> to  be  with  access  rights  to  "sigcatch"  semaphore.  is there any
> workaround (except starting sshd under LocalSystem)?

Works for me but my account used for starting sshd is in the local
admin group. Could you test this in your environment, too, and
report if that solves your problem?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-16  9:11                         ` Egor Duda
@ 2001-01-16  9:28                           ` Christopher Faylor
  2001-01-17  5:20                             ` Egor Duda
  2001-01-17  3:57                           ` Corinna Vinschen
  1 sibling, 1 reply; 32+ messages in thread
From: Christopher Faylor @ 2001-01-16  9:28 UTC (permalink / raw)
  To: cygwin

On Tue, Jan 16, 2001 at 08:08:18PM +0300, Egor Duda wrote:
>Tuesday, 16 January, 2001 Corinna Vinschen cygwin@cygwin.com wrote:
>CV> Personally I'm using tcsh and bash as login shell. I'm using W2K SP1
>CV> with Cygwin 1.1.7, sshd is started via SRVANY under my own account
>CV> which has the appropriate user rights and I don't have any problems
>CV> using ssh and sshd on the box.
>
>btw, did you notice that if you try to login to _different_ account in
>this configuration, sending SIGINT by pressing Ctrl-C from client side
>doesn't work?
>
>i've traced this situation down some time ago, and the reason appeared
>to  be  with  access  rights  to  "sigcatch"  semaphore.  is there any
>workaround (except starting sshd under LocalSystem)?

What's this?  Actual information from someone who has *debugged* the
problem?

Surely you meant to say something like "I know, I can't even use
CTRL-C!  What's up with that?  I had to drop back to B19!"  Mentioning
low level things like the "sigcatch" semaphore is way too much info.

You're starting a dangerous trend, Egor.  Watch out.

cgf

:-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-)
:-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-)
:-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-)
:-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-)
:-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-)
:-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-)
:-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-)
:-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-)
;-)

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-16  5:32                       ` Corinna Vinschen
  2001-01-16  5:49                         ` Erdely, Michael
  2001-01-16  6:08                         ` Henry S. Thompson
@ 2001-01-16  9:11                         ` Egor Duda
  2001-01-16  9:28                           ` Christopher Faylor
  2001-01-17  3:57                           ` Corinna Vinschen
  2 siblings, 2 replies; 32+ messages in thread
From: Egor Duda @ 2001-01-16  9:11 UTC (permalink / raw)
  To: Corinna Vinschen

Hi!

Tuesday, 16 January, 2001 Corinna Vinschen cygwin@cygwin.com wrote:

CV> Personally I'm using tcsh and bash as login shell. I'm using W2K SP1
CV> with Cygwin 1.1.7, sshd is started via SRVANY under my own account
CV> which has the appropriate user rights and I don't have any problems
CV> using ssh and sshd on the box.

btw, did you notice that if you try to login to _different_ account in
this configuration, sending SIGINT by pressing Ctrl-C from client side
doesn't work?

i've traced this situation down some time ago, and the reason appeared
to  be  with  access  rights  to  "sigcatch"  semaphore.  is there any
workaround (except starting sshd under LocalSystem)?

CV> For testing purposes I'm sometimes switching to starting sshd from
CV>  inetd  using LocalSystem account and  password authentication. No
CV> problem at all. 

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-16  7:56                           ` Wei Ku
@ 2001-01-16  8:02                             ` Christopher Faylor
  2001-01-17  4:04                             ` Corinna Vinschen
  1 sibling, 0 replies; 32+ messages in thread
From: Christopher Faylor @ 2001-01-16  8:02 UTC (permalink / raw)
  To: cygwin

On Tue, Jan 16, 2001 at 10:51:01AM -0500, Wei Ku wrote:
>> > Personally I'm using tcsh and bash as login shell. I'm using W2K SP1
>> > with Cygwin 1.1.7, sshd is started via SRVANY under my own account
>> > which has the appropriate user rights and I don't have any problems
>> > using ssh and sshd on the box. For testing purposes I'm sometimes
>> > switching to starting sshd from inetd using LocalSystem account and
>> > password authentication. No problem at all.
>>
>> Following up on one tiny part of the above, when you say '... from
>> inetd _using LocalSystem account_', what does that last bit mean?  I
>> don't have a LocalSystem user in either /etc/passwd or Win2K Users. . .
>
>I have exactly the same question.  Would someone please post a more
>pedagogical procedure of creating the LocalSystem account in W2K?  Unlike in
>the case of NT4, I found no place to specify any "special rights" for the
>user.  I have been trying to make OpenSSHD work (for a multi-user
>environment started from inetd) for a week and have not gotten anywhere (see
>the following error message produced right after keying the password.)

www.google.com seems to be very chatty on the subject of "LocalSystem".

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-16  6:08                         ` Henry S. Thompson
  2001-01-16  7:38                           ` Larry Hall (RFK Partners, Inc)
@ 2001-01-16  7:56                           ` Wei Ku
  2001-01-16  8:02                             ` Christopher Faylor
  2001-01-17  4:04                             ` Corinna Vinschen
  1 sibling, 2 replies; 32+ messages in thread
From: Wei Ku @ 2001-01-16  7:56 UTC (permalink / raw)
  To: cygwin

> > Personally I'm using tcsh and bash as login shell. I'm using W2K SP1
> > with Cygwin 1.1.7, sshd is started via SRVANY under my own account
> > which has the appropriate user rights and I don't have any problems
> > using ssh and sshd on the box. For testing purposes I'm sometimes
> > switching to starting sshd from inetd using LocalSystem account and
> > password authentication. No problem at all.
>
> Following up on one tiny part of the above, when you say '... from
> inetd _using LocalSystem account_', what does that last bit mean?  I
> don't have a LocalSystem user in either /etc/passwd or Win2K Users. . .

I have exactly the same question.  Would someone please post a more
pedagogical procedure of creating the LocalSystem account in W2K?  Unlike in
the case of NT4, I found no place to specify any "special rights" for the
user.  I have been trying to make OpenSSHD work (for a multi-user
environment started from inetd) for a week and have not gotten anywhere (see
the following error message produced right after keying the password.)

ssh_exchange_identification: read: Connection reset by peer.

Wei

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-16  6:08                         ` Henry S. Thompson
@ 2001-01-16  7:38                           ` Larry Hall (RFK Partners, Inc)
  2001-01-16  7:56                           ` Wei Ku
  1 sibling, 0 replies; 32+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-01-16  7:38 UTC (permalink / raw)
  To: Henry S. Thompson, Corinna Vinschen

At 09:08 AM 1/16/2001, Henry S. Thompson wrote:
>Following up on one tiny part of the above, when you say '... from
>inetd _using LocalSystem account_', what does that last bit mean?  I
>don't have a LocalSystem user in either /etc/passwd or Win2K Users. . .

I believe Corinna is referring to the System account on your local machine
(i.e. not on the domain).


Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-16  5:32                       ` Corinna Vinschen
  2001-01-16  5:49                         ` Erdely, Michael
@ 2001-01-16  6:08                         ` Henry S. Thompson
  2001-01-16  7:38                           ` Larry Hall (RFK Partners, Inc)
  2001-01-16  7:56                           ` Wei Ku
  2001-01-16  9:11                         ` Egor Duda
  2 siblings, 2 replies; 32+ messages in thread
From: Henry S. Thompson @ 2001-01-16  6:08 UTC (permalink / raw)
  To: Corinna Vinschen

Corinna Vinschen <cygwin@cygwin.com> writes:

> Personally I'm using tcsh and bash as login shell. I'm using W2K SP1
> with Cygwin 1.1.7, sshd is started via SRVANY under my own account
> which has the appropriate user rights and I don't have any problems
> using ssh and sshd on the box. For testing purposes I'm sometimes
> switching to starting sshd from inetd using LocalSystem account and
> password authentication. No problem at all.
> 
> I'm really sorry but I don't know what I can do as long as I can't
> reproduce any of the described effects.

As someone else struggling to help solve this, first can I warmly
endorse Mike's kind words -- you've been tremendously helpful, that's
why we're frustrated your efforts on this one issue have so far been
in vain.

Following up on one tiny part of the above, when you say '... from
inetd _using LocalSystem account_', what does that last bit mean?  I
don't have a LocalSystem user in either /etc/passwd or Win2K Users. . .

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-16  5:32                       ` Corinna Vinschen
@ 2001-01-16  5:49                         ` Erdely, Michael
  2001-01-16  6:08                         ` Henry S. Thompson
  2001-01-16  9:11                         ` Egor Duda
  2 siblings, 0 replies; 32+ messages in thread
From: Erdely, Michael @ 2001-01-16  5:49 UTC (permalink / raw)
  To: cygwin

Just curious, Corinna, but have you tested this on many machines?  I'm
curious as to whether you are testing on your development machine.  I've
installed and experienced this behavior with fresh installs, existing
machines, Cygwin upgrades, . . .

Have you tried a fresh, out of the box, Cygwin install and see how it
behaves?

Just curious.  I'm trying to find some commonality between machines that
exhibit the bad behavior and those that don't.

-ME

PS: I'm not being critical in the least here.  The Cygwin team, and with my
interest in SSH, especially you, Corinna, have my complete and utter
gratitude and respect.  I'd love to be more adept at programming to be able
to contribute to the projects.  Thank you for your hard work.  It is
definitely more than appreciated.

----- Original Message -----
From: "Corinna Vinschen" <cygwin@cygwin.com>
To: "cygwin" <cygwin@cygwin.com>
Sent: Tuesday, January 16, 2001 8:32 AM
Subject: Re: Cygwin commands crashes after ssh login


>
> Personally I'm using tcsh and bash as login shell. I'm using W2K SP1
> with Cygwin 1.1.7, sshd is started via SRVANY under my own account
> which has the appropriate user rights and I don't have any problems
> using ssh and sshd on the box. For testing purposes I'm sometimes
> switching to starting sshd from inetd using LocalSystem account and
> password authentication. No problem at all.
>
> I'm really sorry but I don't know what I can do as long as I can't
> reproduce any of the described effects.
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin@cygwin.com
> Red Hat, Inc.



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-16  4:41                     ` Erdely, Michael
@ 2001-01-16  5:32                       ` Corinna Vinschen
  2001-01-16  5:49                         ` Erdely, Michael
                                           ` (2 more replies)
  0 siblings, 3 replies; 32+ messages in thread
From: Corinna Vinschen @ 2001-01-16  5:32 UTC (permalink / raw)
  To: cygwin

On Tue, Jan 16, 2001 at 07:41:15AM -0500, Erdely, Michael wrote:
> I've noticed this a lot.  With Windows 2000 Pro and Server, with and without
> SP1, as well (so it's not the specific version of NT/2000).  I've also
> noticed this when running sshd as part of inetd (running as both a specific
> account & SYSTEM) and with srvany (running as both a specific account &
> SYSTEM).
> 
> So far, switching back to Cygwin DLL version 1.1.5-7 is the only solution
> I've found.
> 
> One thought I had after reading
> http://cygwin.com/ml/cygwin/2001-01/msg00714.html was that it may be a
> problem with BASH and not with Cygwin.  So, I was wondering if anyone who
> _IS_ having this problem is _NOT_ using BASH as their shell in /etc/passwd.
> Also, if anyone is _NOT_ having this problem and _IS_ running BASH as their
> shell in /etc/passwd.  If you fall under the previous two categories, how
> are you running SSHD (SRVANY, INETD, specific account, SYSTEM, CYGWIN=ntsec,
> . . .).

Personally I'm using tcsh and bash as login shell. I'm using W2K SP1
with Cygwin 1.1.7, sshd is started via SRVANY under my own account
which has the appropriate user rights and I don't have any problems
using ssh and sshd on the box. For testing purposes I'm sometimes
switching to starting sshd from inetd using LocalSystem account and
password authentication. No problem at all.

I'm really sorry but I don't know what I can do as long as I can't
reproduce any of the described effects.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Re: Cygwin commands crashes after ssh login
  2001-01-16  0:08                   ` Christer.H.Jansson
@ 2001-01-16  4:41                     ` Erdely, Michael
  2001-01-16  5:32                       ` Corinna Vinschen
  0 siblings, 1 reply; 32+ messages in thread
From: Erdely, Michael @ 2001-01-16  4:41 UTC (permalink / raw)
  To: cygwin; +Cc: SSH-L List

I've noticed this a lot.  With Windows 2000 Pro and Server, with and without
SP1, as well (so it's not the specific version of NT/2000).  I've also
noticed this when running sshd as part of inetd (running as both a specific
account & SYSTEM) and with srvany (running as both a specific account &
SYSTEM).

So far, switching back to Cygwin DLL version 1.1.5-7 is the only solution
I've found.

One thought I had after reading
http://cygwin.com/ml/cygwin/2001-01/msg00714.html was that it may be a
problem with BASH and not with Cygwin.  So, I was wondering if anyone who
_IS_ having this problem is _NOT_ using BASH as their shell in /etc/passwd.
Also, if anyone is _NOT_ having this problem and _IS_ running BASH as their
shell in /etc/passwd.  If you fall under the previous two categories, how
are you running SSHD (SRVANY, INETD, specific account, SYSTEM, CYGWIN=ntsec,
. . .).

Mike Erdely
mailto:mike@erdelynet.com
http://mike.erdelynet.com/
SSH-L: http://mike.erdelynet.com/maillist-ssh-l.asp

----- Original Message -----
From: <Christer.H.Jansson@telia.se>
To: <cygwin@sources.redhat.com>
Cc: <Christer.H.Jansson@telia.se>
Sent: Tuesday, January 16, 2001 3:07 AM
Subject: Cygwin commands crashes after ssh login


> I have Windows NT4-SP6+different security patches box with latest
> cygwin/openssh versions.
>
> When logging in with ssh (Yes, I have tried different clients) first of
> all id.exe crashes. After confirming Dr. Watson message on console I
> get logged in. If I try cygwin commands (id, hostname, ls, ps...) I get
> Dr. Watson crash. However I can still run echo and pwd commands.
>
> I have tried re-installing several times. Both on NT Server and
> Workstation.
>
> Is this a known problem? I have seen someone writing about id.exe crash
> problem before.
>
> If I change to older version cygwin-1.1.5.7 everythings works nicely.
>
> I can provice Dr. Watson logs if needed.
>
> Regards,
>
> Christer Jansson
> Telia Mobile AB
>
>
>
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

* Cygwin commands crashes after ssh login
@ 2001-01-16  0:08                   ` Christer.H.Jansson
  2001-01-16  4:41                     ` Erdely, Michael
  0 siblings, 1 reply; 32+ messages in thread
From: Christer.H.Jansson @ 2001-01-16  0:08 UTC (permalink / raw)
  To: cygwin; +Cc: Christer.H.Jansson

I have Windows NT4-SP6+different security patches box with latest 
cygwin/openssh versions.

When logging in with ssh (Yes, I have tried different clients) first of 
all id.exe crashes. After confirming Dr. Watson message on console I 
get logged in. If I try cygwin commands (id, hostname, ls, ps...) I get 
Dr. Watson crash. However I can still run echo and pwd commands.

I have tried re-installing several times. Both on NT Server and 
Workstation.

Is this a known problem? I have seen someone writing about id.exe crash 
problem before.

If I change to older version cygwin-1.1.5.7 everythings works nicely.

I can provice Dr. Watson logs if needed.

Regards,

Christer Jansson
Telia Mobile AB




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2001-01-25 16:30 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-17 13:12 Cygwin commands crashes after ssh login frank.palazzolo
2001-01-18  6:07 ` Corinna Vinschen
2001-01-25 10:37 ` Erdely, Michael
2001-01-25 12:25   ` Ross Smith
2001-01-25 12:34     ` Larry Hall (RFK Partners, Inc)
2001-01-25 13:57       ` Ross Smith
2001-01-25 15:00         ` Larry Hall (RFK Partners, Inc)
2001-01-25 13:36     ` Erdely, Michael
2001-01-25 14:30       ` Earnie Boyd
2001-01-25 14:52         ` Erdely, Michael
2001-01-25 16:30           ` Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
2001-01-18  7:23 Yadin Goldschmidt
2001-01-18  8:18 ` Corinna Vinschen
2001-01-17 13:43 frank.palazzolo
2001-01-17 13:54 ` Larry Hall (RFK Partners, Inc)
2001-01-17  7:08 Yadin Goldschmidt
2001-01-18  6:10 ` Corinna Vinschen
     [not found] <Corinna>
     [not found] ` <Vinschen's>
     [not found]   ` <message>
     [not found]     ` <of>
     [not found]       ` <"Tue,>
     [not found]         ` <16>
     [not found]           ` <Jan>
     [not found]             ` <2001>
     [not found]               ` <14:32:32>
     [not found]                 ` <+0100>
2001-01-16  0:08                   ` Christer.H.Jansson
2001-01-16  4:41                     ` Erdely, Michael
2001-01-16  5:32                       ` Corinna Vinschen
2001-01-16  5:49                         ` Erdely, Michael
2001-01-16  6:08                         ` Henry S. Thompson
2001-01-16  7:38                           ` Larry Hall (RFK Partners, Inc)
2001-01-16  7:56                           ` Wei Ku
2001-01-16  8:02                             ` Christopher Faylor
2001-01-17  4:04                             ` Corinna Vinschen
2001-01-16  9:11                         ` Egor Duda
2001-01-16  9:28                           ` Christopher Faylor
2001-01-17  5:20                             ` Egor Duda
2001-01-17  5:29                               ` Christopher Faylor
2001-01-17  3:57                           ` Corinna Vinschen
2001-01-17  5:20                             ` Egor Duda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).