Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Re: SSH into XP: mapped network drives disappeared! Date: Wed, 22 Oct 2003 16:10:56 -0700 Lines: 22 Message-ID: References: <20031022183112 DOT GA18629 AT te35 DOT hq DOT eso DOT org> <20031022205204 DOT GS1653 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/