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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Andrew DeFaria <ADeFaria@Salira.com>
Subject: Re: SSH into XP: mapped network drives disappeared!
Date: Wed, 22 Oct 2003 16:10:56 -0700
Lines: 22
Message-ID: <bn72pv$su9$1@sea.gmane.org>
References: <20031022183112.GA18629@te35.hq.eso.org> <bn6q4u$mse$1@sea.gmane.org> <20031022205204.GS1653@cygbert.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
In-Reply-To: <20031022205204.GS1653@cygbert.vinschen.de>

Corinna Vinschen wrote:

>On Wed, Oct 22, 2003 at 01:43:10PM -0700, Andrew DeFaria wrote:
>  
>
>>Alexis Huxley wrote:
>>    
>>
>>>I modified my $HOME in /etc/passwd to be /cygdrive/y, which the XP PC has mapped to my home directory in the storage server. My ~/.profile sufficiently OS-independent, that this works under Cygwin/XP and on any of the various Unixes we run. Great so far.
>>>      
>>>
>>I didn't think that Cygwin paid attention to the home field in /etc/passwd. Mine does, but that's because I modified /etc/profile to set $HOME based on /etc/passwd's home field.
>>    
>>
>Cygwin doesn't pay attantion but tools do.  sshd, login, ftpd and any other tool which requires the home directory for doing it's job, most server applications and also several client tools as, say, ssh.
>
I thought that that might be the case. Why then not make Cygwin pay 
attention to the home field in /etc/passwd? Why not change /etc/profile 
to use it? (Perhaps I'm treading over an issue that was already discussed).
-- 
Hard work has a future payoff - Laziness pays off now.



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

