delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/22/19:11:10

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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <ADeFaria AT Salira DOT 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 DOT GA18629 AT te35 DOT hq DOT eso DOT org> <bn6q4u$mse$1 AT sea DOT gmane DOT org> <20031022205204 DOT GS1653 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT 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/

- Raw text -


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