X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=qMyv7jb+TVyFcbvN
	cv1z5yJQSGajARcooEp8Z65gcCBZSRwU2dxMI9hRlpAttmSW5IjEWgFxUwILm5DI
	tR5sFypEcT7qQ2+nli6sqs5IyVgxreec3UMl5fYwwWk2XZxGmEuwPHmIS0d6hCt8
	aA2f3jfZdli3Yr3l2YY9c3dOAr8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=+blz3G+jGcxuEFV2PeGXMO
	WtT0I=; b=ANr8TaMdn5w5wO3M+EuXPh6ynZ8rGe281UMiJDu+fCAPRr7oaoRN5B
	mwPvpuVdqjvyC8/nLepwy6QcV6bmQsY63rRsaOmmnrI6+BSU3145ZnHRX2h3QLmX
	N8UIf5bziagTWANjnX5ZoJUx8N0KpoBxLd1K5kjvd0F8PcuCKVPpg=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: vms173025pub.verizon.net
Message-id: <530FCEF2.6090509@cygwin.com>
Date: Thu, 27 Feb 2014 18:49:06 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: ssh login reports "Could not chdir to home directory /home/root: Bad address"
References: <OFC095E870.072141BD-ONC1257C8C.005FB4AF-C1257C8C.0069178A@de.ibm.com>
In-reply-to: <OFC095E870.072141BD-ONC1257C8C.005FB4AF-C1257C8C.0069178A@de.ibm.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit

On 2/27/2014 2:07 PM, Ernesto Puig Rodriguez wrote:
> When I log in into my Windows Server 2008 R2 using ssh, I get the following
> error:
>
> $ ssh root@winsrv2008
> root@winsrv2008's password: ********
> Could not chdir to home directory /home/root: Bad address
>
> This is independent on whether I log in with the root user who is mapped to
> the Administrator in the /etc/passwd or not using another user of the group
> Administrators. The sshd daemon is able to log me in and everything seems
> fine, but this error is telling me something is wrong in my machine which I
> was not able to find till now. I have also re-installed cygwin and upgraded
> ssh with the level OpenSSH_6.5p1-1 without success.

What does 'pwd' say after you login?  Does '/home/root' exist?  If so, what 
are the permissions it shows (for each of ls -l, getfacl, cacls)?

Looking at the output of ssh -v -v -v may help.  Setting up a sshd service
to run debug and looking at that output will probably be more help.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

