delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/02/19:04:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3D223157.9030804@cip.wiwi.uni-karlsruhe.de>
Date: Wed, 03 Jul 2002 01:03:51 +0200
From: Huijing Zhou <hj AT cip DOT wiwi DOT uni-karlsruhe DOT 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 AT idirect DOT net>
Cc: cygwin AT cygwin DOT com
Subject: Re: ssh unable to find my home
References: <BADF3C947A1BD54FBA75C70C241B0B9E40F0CF AT ex02 DOT idirect DOT net>

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 AT cip DOT wiwi DOT uni-karlsruhe DOT 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/

- Raw text -


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