delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/13/19:58:14

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
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "news.gmane.org" <paul DOT galbraith AT t4g DOT com>
Newsgroups: gmane.os.cygwin
Subject: Re: Strange bash login behaviour -- no home directory
Date: Wed, 13 Mar 2002 19:58:19 -0500
Lines: 47
Message-ID: <a6oshg$dv6$1@main.gmane.org>
References: <a6os96$dq6$1 AT main DOT gmane DOT org>
NNTP-Posting-Host: 216.13.67.97
X-Trace: main.gmane.org 1016067441 14310 216.13.67.97 (14 Mar 2002 00:57:21 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Thu, 14 Mar 2002 00:57:21 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

I Just figured it out less than sixty seconds after sending that post (I
wish it always worked that way!!!).

I had $HOME defined in my windows environment (for some strange reason) to
be C:\.  Deleting that system environment variable solved the problem.

Paul

"news.gmane.org" <paul DOT galbraith AT t4g DOT com> wrote in message
news:a6os96$dq6$1 AT main DOT gmane DOT org...
> I'm using the ntsec option of CYGWIN, on a freshly installed version of
> cygwin that was downloaded today.
>
> I've used mkgroup and mkpasswd to include domain entities (including me)
in
> /etc/group and /etc/passwd.
>
> When I start cygwin ("bash --login -i" from the default cygwin.bat), I'm
> recognized  as being logged in with my proper user id, but my home
directory
> (as reflected by $HOME) is "/cygdrive/c", even though /etc/passwd clearly
> defines my home directory as "/home/paul.galbraith".
>
> If I "login" from within the bash shell, $HOME is then set properly and
I'm
> dumped into my home directory!
>
> Does anyone know why I have to login from the shell in order to get $HOME
> set properly?
>
> Cheers,
>
> Paul
>
>
>
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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