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: "Xanana Gusmao" Subject: Re: Doesn't chdir to /home/foo when cygwin shell is started Date: Wed, 2 Jul 2003 13:12:39 +0800 Lines: 48 Message-ID: References: X-Complaints-To: usenet AT main DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Igor, > At a guess, your /etc/passwd does not contain the user you log in as ("foo" in your example), Wrong. foo has an entry in the passwd file. $ mkpass -l ----snip--- bonga:unused_by_nt/2000/xp:1002:513:Xanana Gusmao,neptune\foo,S-1-5-21-2000478354 -839522115-842925246-1002:/home/foo:/bin/bash $ cygcheck -svr ---snip for brevity--- HOME = `c:\' MAKE_MODE = `unix' PWD = `/' USER = `foo' Cygwin DLL version info: DLL version: 1.3.22 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 78 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Tue Mar 18 09:20:11 EST 2003 CVS tag: dontuse-21 Shared id: cygwin1S3 Thanks Xanana -- 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/