Failure in merging win-env vars into post-'login'...
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue Jan 27 14:20:00 GMT 2015
On Jan 24 00:26, Linda Walsh wrote:
> BTW, FWIW, when I 'remotely login', now, and try to use
> win-env vars:
>
> /Users/law.Bliss/bin/dumphive: line 11: USERPROFILE: unbound variable
>
> more than one of my scripts and other programs fail due to
> USERPROFILE being null.
>
> 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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150127/39313b98/attachment.sig>
More information about the Cygwin
mailing list