delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/28/14:01:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 28 Apr 2005 14:01:17 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Brad King <brad DOT king AT kitware DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: sshd and /usr/bin/zsh
In-Reply-To: <4270FD0F.8030702@kitware.com>
Message-ID: <Pine.GSO.4.61.0504281356070.1962@slinky.cs.nyu.edu>
References: <4270FD0F DOT 8030702 AT kitware DOT com>
MIME-Version: 1.0

On Thu, 28 Apr 2005, Brad King wrote:

> Hello,
>
> I just upgraded cygwin and now I cannot login to the machine via ssh
> unless I change /etc/passwd to use /bin/bash for my shell.  If I use
> /usr/bin/zsh then the login appears successful but no prompt ever shows
> up.  If I look at the set of processes I see a zsh that is doing
> nothing.  I tried moving all my .z* files out of my home directory but
> it didn't change anything.  I tried adding a command in .zshenv to
> create a mark file to see if it was even being loaded, but it is not.
> The zsh process seems completely dead.  It was working fine before the
> update.
>
> Any ideas?

First off, it's always a good idea to read and follow
<http://cygwin.com/problems.html>.  Without the information requested
there, we don't know much about your system.

One immediate thing to check is whether the /usr/bin mount is correct on
your system: try changing your shell to /bin/zsh instead (/bin and
/usr/bin should point to the same directory on Cygwin).  If that works,
fix your mounts.

Otherwise, since bash works for you, I suspect some sort of a permission
issue.  Check the sshd logs.  Also, try opening a "system-owned shell"
(Google for it to see how), and from there run

login youruser

and see what output you get.
To follow up on my hunch, you might want to run "cygcheck /usr/bin/zsh"
and check the permissions on all the DLLs listed by that command.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019