delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/27/05:27:46

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=dWLlbddmclqQq/HCRC8Zg9Dl88subaqHyjZYqCsHyOC1W4hh3SDiB
wnBtEaSTKeJJI7EBxm900JOdvUjW5sWzLpjJsscDGdlBCa4PrwMNI1pdjSkvlvJi
YwpBSX+O0P+opiE8AgAf/qChO/3NkolRftunxHKbqjTug9HDRDReUo=
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=LTpxx/4+H6qgxDaVXBsdy+sDITw=; b=hZW/bHdSxznyzTMx8Buhlymh88Nr
Mw9BGS0kH7GPxsjAquMzefg2xTKhgp+XPaYG5BYvp/KMxG1k1TwyIbj5cxyyjZOf
vTKkuA9G8scWAX7bvoligotY4d7BAPsJObwh1/amhQEPna+EZWANyyixvT7A7opr
9tGOIhu93IugimI=
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-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 27 Jan 2015 11:24:20 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Failure in merging win-env vars into post-'login'...
Message-ID: <20150127102420.GH14265@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20150114124044 DOT GD15791 AT calimero DOT vinschen DOT de> <54B7365C DOT 7020307 AT tlinx DOT org> <20150115091110 DOT GA10242 AT calimero DOT vinschen DOT de> <54B8DD29 DOT 20901 AT tlinx DOT org> <20150116105114 DOT GC3122 AT calimero DOT vinschen DOT de> <54B9AFF4 DOT 6010903 AT tlinx DOT org> <20150119102606 DOT GC10055 AT calimero DOT vinschen DOT de> <54C1A682 DOT 6060103 AT tlinx DOT org> <20150123113657 DOT GB19127 AT calimero DOT vinschen DOT de> <54C35748 DOT 8080405 AT tlinx DOT org>
MIME-Version: 1.0
In-Reply-To: <54C35748.8080405@tlinx.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Jan 24 00:26, Linda Walsh wrote:
> BTW, FWIW, when I 'remotely login', now, and try to use
> win-env vars:
>=20
> /Users/law.Bliss/bin/dumphive: line 11: USERPROFILE: unbound variable
>=20
> more than one of my scripts and other programs fail due to
> USERPROFILE being null.
>=20
> Is it possible to preserve that?

Cygwin doesn't remove it.  Login does and rightfully so.  For the
default scenario, running inetd under a privileged account and switching
the user context, you'll get *your* WIndows variables back by Cygwin's
new mechanism.  For your scenario, running inetd under ytour account, no
user context switch, I suggest to simply set the desired Windows
variables in your .profile.


Corinna

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

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

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

iQIcBAEBAgAGBQJUx2dUAAoJEPU2Bp2uRE+gHokP/18vJfICuuQbnKAPMn+/LD/o
mF4wrCd4r8tKKkDvs7+mtjI7meq9leO9OAaV+aqU/Lbkt0RTrCGCFlPI22Yhd/H3
XMvckl5HHwp08utg4jZIUwojmxM6uTTubkR6ChoSsW4irGH6/LyZUpatjs5hforM
4CYBcP9Fk/PFEP7hZ8ZjdGFJh9/G/9te01URQ3m7p6C1qBzySinKkf/0NIVVn/rz
YtHS2SRyHqceL0kjLfRWAOfAQPugaBLlV9+iWwLgm2OY3v9H48NSp5e2TjVjtA9B
mmTaoBtA0bmUVwfwbPf1a0+TvnOIDeY2DRfPDgbbZ2vwpkEfNU3w4AENlIwcTdX6
wPuaKDj2UNfrvTgzu7bSyIaZt1zRZGHZQ2wvpI/tjAm6imzGQttA45JjG7xMBWPF
s3jm6Ko6vgVXL+v7q+lVPUtLt5uDATFRUmMbQrzPit9NmJNC0LPnNgvL1gxiAreL
hTW9ALfEikGG2iI+G4NeFRmcWUwtUCFxTaiFrj4Qsjq/8GQyMF+hJUVkwmY0VWgs
F25PJFBj3ldLphk+hCYatKJmO46CxNeNmjvbwhdJK1+a7qQkSou8H1Inlctzi0yC
p23nwAVDPnpFMDppmOBa1gj71nmMLXimWvlO4BoXlk4rojlnGZ5BdGzzFiX5ieDO
kZgd4biF0ngYnq+JW1oP
=wZfy
-----END PGP SIGNATURE-----

--AzNpbZlgThVzWita--

- Raw text -


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