delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/27/18:49:35

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
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 AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: ssh login reports "Could not chdir to home directory /home/root: Bad address"
References: <OFC095E870 DOT 072141BD-ONC1257C8C DOT 005FB4AF-C1257C8C DOT 0069178A AT de DOT ibm DOT com>
In-reply-to: <OFC095E870.072141BD-ONC1257C8C.005FB4AF-C1257C8C.0069178A@de.ibm.com>

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 AT winsrv2008
> root AT 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

- Raw text -


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