X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 	tests=BAYES_00,J_CHICKENPOX_83,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A10C051.3050401@gmail.com>
Date: Sun, 17 May 2009 21:56:33 -0400
From: Patrick Aikens <paikens@gmail.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [1.5] Problem with OpenSSH on Windows Home Server (Win2003)
References: <4A0CEE5B.6060301@gmail.com>
In-Reply-To: <4A0CEE5B.6060301@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Patrick Aikens wrote:
> I've installed cygwin 1.5 on my WHS box as Administrator.  I've opened a
> cygwin terminal and executed the mkpasswd -l > /etc/passwd and mkgroup
> -l > /etc/group commands, executed ssh-host-setup and used privilege
> separation, and everything seems to have executed OK.  I can ssh to that
> machine as Administrator just fine using password auth.  However, I
> can't ssh in as any other user on that machine using password
> authentication - I get told that the password is incorrect, which I know
> it isn't.  I can use key-based auth to login as any user, so I do have a
> workaround, but I'm curious as to why no user but Administrator can use
> password auth to log in?  I've logged in via remote desktop as the user
> I wish to SSH as and ran ssh-user-config as that user (that's how I got
> the key-based login working).  I haven't done that as Administrator,
> though, and it still lets me log in just fine there.
> 
> Sorry if this is a bit rambling, but I've been working on this problem
> for a while and it's getting late where I am... cygcheck.out is attached.
> 

So, is this expected behavior then?  Is it only possible to log in as
the user that installed the server using password authentication?

--
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/

