X-Spam-Check-By: sourceware.org
X-Modus-BlackList: 128.183.46.116=OK;Farhad.Tahmasebi@nasa.gov=OK
X-Modus-Trusted: 128.183.46.116=NO
Message-ID: <001301c6064f$f15dd7c0$742eb780@gsfc.nasa.gov>
Reply-To: "Farhad Tahmasebi" <Farhad.Tahmasebi@nasa.gov>
From: "Farhad Tahmasebi" <Farhad.Tahmasebi@nasa.gov>
To: <cygwin@cygwin.com>
References: <00a001c605a3$9c8f8f60$742eb780@gsfc.nasa.gov> <43A87242.60800@cygwin.com> <011401c605b1$6892a8b0$742eb780@gsfc.nasa.gov> <43A888D9.5000707@cygwin.com> <015101c605bb$33035f00$742eb780@gsfc.nasa.gov> <43A8A522.3050209@cygwin.com>
Subject: Re: 1.5.18: .bash_profile not being invoked
Date: Wed, 21 Dec 2005 11:59:44 -0500
MIME-Version: 1.0
Content-Type: text/plain; 	format=flowed; 	charset="iso-8859-1"; 	reply-type=response
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

----- Original Message ----- 
From: Larry Hall (Cygwin)
To: Farhad Tahmasebi
Cc: cygwin@cygwin.com
Sent: Tuesday, December 20, 2005 7:43 PM
Subject: Re: 1.5.18: .bash_profile not being invoked


Well your '/etc/passwd' doesn't agree with the directory you set your
HOME environment variable to.  If running "bash -l" works, that means
that either you aren't running "cygwin.bat" or it's equivalent to start
the bash shell that you're having problems with or that you're setting
HOME in a bash script that you're sourcing along the way.  Either set
HOME in your Windows environment, change '/etc/passwd' to point to your
preferred home directory (via editing or 'mkpasswd'), or use "cygwin.bat"
or comparable way to start your initial bash shell.

Bravo. Editing /etc/passwd worked.

I'm wondering why 1.5.17 works on my other pc. The etc/passwd files were 
identical before I edited the one on the 1.5.18 machine.

Also, I'm definitely running cygwin.bat.

Many thanks.
Farhad

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746 


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

