www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/18/13:13:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <023814FAC196D5119E4A00D0B76C0F9805205D@mmuc.definiens.com>
From: "Bleyer, Michael" <MBleyer AT DEFiNiENS DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: login account is "Administrator" not "username"
Date: Mon, 18 Mar 2002 19:12:43 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019