delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/10/16:13:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A5CCF18.972783C1@yahoo.com>
Date: Wed, 10 Jan 2001 16:07:36 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Dan Lipofsky <dlipofsky AT kurion DOT com>
CC: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: why am I administrator?
References: <81CC73FC2FACD311A2D200508B8B88AA1ADB05 AT kurion_exch DOT kurion DOT com>

Dan Lipofsky wrote:
> 
> I installed the latest cygwin on my Win2000Pro machine.
> I was administrator when I installed it, but I am now
> trying to use it while logged on as dlipofsky.  However,
> cygwin still thinks I am administrator.  How can I fix this?
> 
> USER=administrator but USERNAME=dlipofsky.
> USERNAME is set by the OS.  Here is a dump of some enviroment
> variables, from bash and from the DOS prompt respectively.
> 

USER is set in the /etc/profile function by issuing the `id -un`
command.  The id command gets it's name from the associated uid in the
/etc/passwd file.

I can also guess that you are in the local administrator group and
logged on as a domain user.  Upon setup a /etc/passwd file is created
from the local sid.  You need to add your domain sid for your user
account.

Cheers,
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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