delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/16/04:33:17

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=MEf7a0b/q9iv3oEjgZoG5/RWyi8sUt1xNQRU3ibWqpxVXJ1PyuEhT
yIa1iICZeeZTrh/2p63pZZuir4tnd0W11Vw1kwO8RfHJsqcngXTvjGiA0Kl0Afpe
AfOF79O0ybmDBidlJfOp45re828Hc4TPrSP8LSL2y8MBRHTHa4eh64=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=tqHB39YsoiGhGYz4YBluM65us+4=; b=NFjUwLcGFPLYaEDyHaRl81+x9xah
FDuiSCZsD4E2hffgcghqkMeBw5NnRRlptsVoS96rnf77ZfvL6xvjkOO/3tLSJrTq
6tXPubpNqeBW2/UAw75m4xPzuUBniNFHo/H0x2VC94n2dmi2ZIOOziODY5yaYnaN
rI4Lw29a+VsKcR0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 16 Feb 2015 10:32:55 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.1
Message-ID: <20150216093255.GA7225@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20150212202323 DOT GI7818 AT calimero DOT vinschen DOT de> <74410B36-A057-483B-AAA3-20C15934374E AT Denis-Excoffier DOT org> <2F8A6D52-E4D9-48D0-BC21-13213AAC9F4B AT etr-usa DOT com> <A2F3E911-AA9A-4CFD-ACA7-9C5269339F92 AT Denis-Excoffier DOT org> <646732991 DOT 20150214022454 AT yandex DOT ru> <54DF0337 DOT 7090405 AT towo DOT net> <767189166 DOT 20150214222127 AT yandex DOT ru> <20150215100515 DOT GK7225 AT calimero DOT vinschen DOT de> <131240804 DOT 20150215213616 AT yandex DOT ru>
MIME-Version: 1.0
In-Reply-To: <131240804.20150215213616@yandex.ru>
User-Agent: Mutt/1.5.23 (2014-03-12)

--gYb7txo4D4wAJl1C
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 15 21:36, Andrey Repin wrote:
> >> By the way,
> >> getent passwd %USERNAME%
> >> return homedir correctly, but bash insist on using existing HOME even =
if
> >> started as login shell.
>=20
> > Of course.  All shells do that.  They expect HOME to have a useful value
> > because HOME is usually set by the login process before the shell is
> > started.  And the login process, if there is any, fetches HOME from the
> > account DB.
>=20
> That makes me wonder, if there's a sane way to simulate such login process
> under cygwin without asking user for name/password?
> Or unsetting global %HOME% is the only way to go?

There's no reason at all to set a global %HOME% variable for Cygwin.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--gYb7txo4D4wAJl1C
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU4blHAAoJEPU2Bp2uRE+gAkcP+wc/+yB9rHnnum1yS/KKwSlz
X8un9Yhpk7VKluBvsdv5N811y5SS536U7k/7zPwYQAv7sYLtlNgM6oCqekQqyiKY
CrDpsWtMfcn39EsV5k5XcecwENXrwOBPf1fGJCCoFgjFVFiVlaxZSgjH1vsoitAN
F9Zgboh2PalzyztzhIPY2WE6zjLUp0/yRzxr2AoVe6W6U6PuFBTrIEhXDz4MY1+l
zG+cIgsyiEo98dvRk2mpBDepNArNSJgp7ARf3MESLqYJw3xlWXC3hdLSw6RdJCJj
CYKt/Ph5RFPd15IKT2RnBOHJE0ZlVhpBJNqwiE5W9dFxNpUoh5mb2BpOnFIGwvlW
yuutnpyu4dr8x9PkTep/yzvkbZWNw1QBEu9tzPNxpQ0oqxJ0ssLADrOD80nZYMX7
5+lIqDDHN+GWf7i2MsfL7c8KOTsL1+5w5cMMFOHXB+gFc1rzWANwhUTqcdw7LvOO
DjeDr0t53hju4lTs/s2OrlI9+cHbJ47/Csf9i3NzsODIjm+uPSEzyzfvmVOkNVu9
i2+wtm5GfU1ki/Ve0ed38+a4GGsFWIROJdenYye8VWTSuBIXoF3BICWyRObqFlMs
WtLohIkC1uv2dykiqvTRMjUrMyuCLU05L0M3PSYuZ55Gr5D2dl/fZuoToXBDyLRH
FkmoAnTHXXHCVp6eTIqw
=2g7w
-----END PGP SIGNATURE-----

--gYb7txo4D4wAJl1C--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019