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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 2 Jul 2003 09:52:11 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Xanana Gusmao cc: cygwin AT cygwin DOT com Subject: Re: Doesn't chdir to /home/foo when cygwin shell is started In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 2 Jul 2003, Xanana Gusmao wrote: > 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 Is the SID (the string of numbers starting with "S-") above correct? Also, the name in the passwd entry is "bonga", althouth the value of $USER is "foo". Are you sure you've included the correct passwd entry? Besides, FWICT, the above is not the contents of your /etc/passwd, it's the output of "mkpass[wd?] -l". I think you'd better attach your full /etc/passwd instead (there is no information there that could be used to compromise your system security). > $ cygcheck -svr > ---snip for brevity--- Please don't do that. First off, it's the full output that's interesting, in this case, the output of "id" and the list of installed packages, both of which you've snipped. Secondly, please attach it as an uncompressed text *attachment* to the message, instead of including it inline, because the full output contains a list of packages that will produce false positive hits in the archive searches unless it's in an attachment. Igor > [snip] > Thanks > Xanana -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/