Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C962F4F.5060809@cportcorp.com> Date: Mon, 18 Mar 2002 13:17:51 -0500 From: Peter Buckley User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: "Bleyer, Michael" CC: "'cygwin AT cygwin DOT com'" Subject: Re: login account is "Administrator" not "username" References: <023814FAC196D5119E4A00D0B76C0F9805205D AT mmuc DOT definiens DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Look at the file /etc/passwd. Is your jdoe username in there? If you are in a windows NT domain, and jdoe is a domain user, you will need to type "mkpasswd -u jdoe >> /etc/passwd" from a bash shell to create an entry for jdoe. Alternately you can use "mkpasswd -d >> /etc/passwd" to populate the passwd file with all domain users. HTH, Peter Bleyer, Michael wrote: > I am logged in as user "jdoe" and have administrator rights on a WinNT box. > I installed the most recent stable cygwin on this box (logged in as user > "jdoe"), usable for "all". > > However, the cygwin shell tells me: > ~ $ whoami > Administrator > > and gives me the following environment variable settings: > USER=Administrator > USERNAME=jdoe > > and consequently: > ~ $ pwd > /home/Administrator > > > Obviously cygwin logs me in as "Administrator" instead of "jdoe", even > though I logged in as user jdoe under WinNT > (USERNAME=jdoe in a DOS box). > Is there a way to change/avoid this? I tried installing cygwin as "usable > only for me" but it's just the same. > I've tried the registry, FAQ and mailing list archives to no avail. > > A problem arises when I use cvs for example, as it gets my username from the > env variable USER and all my files get checked in from user "Administrator" > as opposed to "jdoe". I could of course hack around this, but maybe there is > a simpler solution? > > Thanks for any help, > Michael > > > > -- > 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/ > > -- 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/