Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3D223157.9030804@cip.wiwi.uni-karlsruhe.de>
Date: Wed, 03 Jul 2002 01:03:51 +0200
From: Huijing Zhou <hj@cip.wiwi.uni-karlsruhe.de>
Organization: University of Karlsruhe
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc3) Gecko/20020523
X-Accept-Language: en
MIME-Version: 1.0
To: "Harig, Mark A." <maharig@idirect.net>
Cc: cygwin@cygwin.com
Subject: Re: ssh unable to find my home
References: <BADF3C947A1BD54FBA75C70C241B0B9E40F0CF@ex02.idirect.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Harig, Mark A. wrote:

> HOME is defined incorrectly on your ssh client machine.  You'll want to:
> 
>   1. Check the file /etc/passwd.  The second-to-last field is likely set
> to /home/Administrator.  This is what ssh is using, if I remember
> correctly.
> 
>   2. Set HOME to this value, '/home/Administrator', on your ssh client
> machine.  Cygwin attempts to do this for you in the file /etc/profile,
> which is sourced before your bash shell is started.  Don't override the
> value that /etc/profile sets for you.  It's the sensible value.

Thanks for the hint! Now I changed the field in "/etc/passed" from 
"/home/Administrator" to "/cygdrive/h" and ssh stopped complaining.

The reason I cannot set my home to "/home/Administrator" is that I am 
not the only administrator user using the system. But everyone of us 
gets his own home drive mapped to "H:\".

Huijing

-- 
Huijing Zhou <hj@cip.wiwi.uni-karlsruhe.de>
CIP Computer Lab, Faculty of Economics
University of Karlsruhe, Germany
http://www2.wiwi.uni-karlsruhe.de


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

