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=dwpTT04By07G0eIHyM2/k3PJfttrhh9aQI0FTLFUzJraCEXDwjasu lc/j3WYfj2XZNd9aRkrJOsZOyiVpl3yDlAbCOn31LF7L0iAxuZRuHAkTXZTtumUW FPkqLCzLyD5Cry3Xg2qEPlhx51PtlpwuWJFVSLzoabsKW+jKPf2Kc4= 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=8AWiufo+qofvfOm4k44qjj64CA8=; b=n3LwlerTDbC5w+LQ3GxVMzWwj//c 29bahd7pxpiQvBHDCnAqXEEsA/lNI3o2qAVK/aLKHMDjGnEa1OmNTbPZyiwDLVcZ RMJMKVbdBUAXlhTedQ1+LNsvEvFsYmhNWIIoZTwkXH02+SOazg1XBZX3OnRXQdWM Q5iR4d83h2foCfA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 11:23:41 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.1 Message-ID: <20150216102341.GA3705@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <74410B36-A057-483B-AAA3-20C15934374E AT Denis-Excoffier DOT org> <2F8A6D52-E4D9-48D0-BC21-13213AAC9F4B AT etr-usa DOT com> <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> <20150216093255 DOT GA7225 AT calimero DOT vinschen DOT de> <87sie6yyax DOT fsf AT Rainer DOT invalid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <87sie6yyax.fsf@Rainer.invalid> User-Agent: Mutt/1.5.23 (2014-03-12) --9amGYk9869ThD9tj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 16 10:56, Achim Gratz wrote: > Corinna Vinschen writes: > >> That makes me wonder, if there's a sane way to simulate such login pro= cess > >> 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. >=20 > The trouble is that it changes things when some bright chap thought it a > good idea to set it in Windows, even though Windows itself makes no use > of it that I would know of. If you've set it yourself you can take note > and change it, but sometimes you're not in that position. But there's no way to change that other than giving the bright chap a good spanking. And in many cases setting HOME in the Windows environment works nicely for some people. Personally I'm in favor of discouraging people to do that (*), but hey, ultimately it's their system. The fact that shells don't set HOME themselves is the right thing to do and there's really no good reason to special-case that for Cygwin. You can get the same problem on other Unix systems. Consider the capability to set the environment in ~/.ssh/authorized_keys for instance. Corinna (*) This may qualify for YA faq entry, or a rewrite of the faq entries "Why doesn't bash read my .bashrc file on startup?" and "My HOME environment variable is not what I want." For a start, I changed the references to HOME from the Windows environment in the User's Guide. --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --9amGYk9869ThD9tj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU4cUtAAoJEPU2Bp2uRE+goTEQAJwwOThLgKubRm9rtafTcbDL 5RmKIlTShVH9rhi+OkwivQmTi7A1bsnDXaoVv05uSr0lShHBlbfTF6fNZyJy/b31 GBuqR8ieFinW7czeSSF+QvqDdMj1tR7tF+WQlZ5rMbO4fFT+GtHbmxoA/QMByF9H 6z8BxCOIWO4JvuyHlGa0zsRQljXQpdKct2grYSV0nVN/2LHqaC/XpRbKLHmkQQOH urcwz8rZKJ1Zf0KT+Jrq34UQgGGwME22ZLlTPOXt92CglICkHpY7WkiO19b/SOwX d0ceBxTg+d6J9+zW3Ri3uK4q+OhRVvPxLqV/FXCRb4o4a4zxifEjbPVOGIId+0+x jtsS/DwTDrxaZa1rgQOIHkrxl/T9oOdOeKF+kSwNRXOSqPzxhSJAoYyDQ5NqlEK6 pIS925JE9QJ/av+8qMAoiOoI4Zc2374ty7+OwiHw672d8I3Py01YZjfRod23+RlM hv9Q11BmD0mZzriuiw5AaIAN6uhJvP3YC9Cy5EGwGYudo6fPkNyycAJnzi3SsC+V 2XK/EAtl1AjGu09DG9XGQgGGZrV5LIGU3XBP1Pa0U1deN2Tb6eB/4YodpWepf1lZ icvSiF8JtfbIiwCLl0TUDzFkI4RybhW4qS6umirRqvvkjiUGOgaE9B0GY+J08OxM 2Sbh4UkVIBfKMPy3of8W =QFlY -----END PGP SIGNATURE----- --9amGYk9869ThD9tj--