Then you have to set it prior to running any cygwin executable. You can do this from Control Panel->System->Advanced tab.
Read here for more information on the CYGWIN env variable: http://cygwin.com/cygwin-ug-net/using-cygwinenv.html Also check the FAQ: http://cygwin.com/faq/faq_toc.html#TOC44 "Stevenson, Quinn" wrote: > > I am running Win2k in a domain, and I have both domain accounts and local > accounts (I'm running a laptop). I do not have the CYGWIN variable set to > anything. > > -----Original Message----- > From: Pavel Tsekov [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 21, 2001 8:45 AM > To: Stevenson, Quinn > Cc: '[EMAIL PROTECTED]' > Subject: Re: NT Domain Account > > "Stevenson, Quinn" wrote: > > > > I just installed cygwin v1.3.5, and it seems to be working great. > However, > > when I open a shell, whoami returns Administrator instead of my domain > login > > id. How do I get a domain account recognized by cygwin? > > Are you running NT like os ie NT4/2000/XP ? Do you the environment > variable CYGWIN set to "ntsec" ? Do you log into the domain or into > the local machine domain ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/