This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failure in merging win-env vars into post-'login'...


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

Attachment: pgp5b3aFrRlgZ.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]