Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <39899055.774193D1@cygnus.com> Date: Thu, 03 Aug 2000 17:31:33 +0200 From: Corinna Vinschen Reply-To: cygwin X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: Christian =?iso-8859-1?Q?J=F6nsson?= FOA CC: cygwin AT sources DOT redhat DOT com Subject: Re: the $USER and $USERNAME in cygwin-1.1.3 undet NT 4.0/sp6 References: <200008031452 DOT QAA02723 AT arnljot DOT lin DOT foa DOT se> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id LAA21838 Christian Jönsson FOA wrote: > > I was just wondering about some things under cygwin. I am logged onto > my WINNT system as user chj in the LIN domain. This user has > privilages of administrator. However, when I start cygwin, I get the env > variable USER to be administrör (which is Swedish for administrator). > This, I suppose, is not quite what I should have. > > I would actually believe that I should have things done to the > /etc/passwd and /etc/groups files buyt don't have much of a clue of > what... > > CYGWIN=ntsec > TERM=cygwin > USER=administrat"r > USERDOMAIN=LIN > USERNAME=chj > USERPROFILE=C:\WINNT\Profiles\chj > > and other thing, I simply tried to issue a passwd command, it failed > stating no user chj, and there is, of course, no user chj defined in > the /etc/passwd file. How do I create such an entry? And how do I > "connect" it with the user chj in the domain LIN defined on the > "NT-system"? Try mkpasswd and mkgroup tools. Without parameters they print a usage to the console. For more information on NT security take a look into the ntsec chapter in the online documentation: http://sources.redhat.com/cygwin/docs -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT sources DOT redhat DOT com Red Hat, Inc. mailto:vinschen AT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com