delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/12/11:11:06

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Ronald Landheer" <info AT rlsystems DOT net>
To: =?iso-8859-1?Q?Schaible=2C_J=F6rg?= <Joerg DOT Schaible AT gft DOT com>,
<cygwin AT cygwin DOT com>
Subject: RE: Windows login name, USER and HOME env variables..
Date: Wed, 12 Sep 2001 17:10:31 +0200
Message-ID: <NFBBLOMHALONCDMPGBLFCEAPCBAA.info@rlsystems.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <C2D7D58DBFE9D111B0480060086E96350519BA86@mail_server.gft.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id LAA22641

Hello Jorg,

You wrote:
> I wrote:
>>  a. Where does Bash get the space from? (the registry key mentioned 
>>     above, or elsewhere?)
>>  b. Idem for CVS - isn't that supposed to use the $HOME variable to 
>>     find out where my files live (and where it should plant the .ssh 
>>     dir)?
> Easy: Any app that requests the *system* for your user name, will get
> the real one.
Okay, but is CVS supposed to reconstruct the home directory path by 
itself? IMHO, it should just check the HOME variable and take it from 
there.. (and then, it should find the name w/o the space..).

>>  c. Other than logging in under another name, is there a workaround?
> Also have a look at your /etc/passwd that was also generated using
> system functionality. I am quite not sure whether you may override the
> system's user name here or not, since I do not know how the ported
> Unix apps really retrieve the user's name.
.. which is exactly what I don't know either.
You're right that the passwd file, though - I'm taking a look..
Yup.. that works..

>>  d. Should this be considered a bug?
> IMHO no.
I'd consider it weird anyway :)
Does any1 here know why CVS reads the passwd file rather than the HOME 
and USER env vars?

Greetz!

Ronald


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