This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: why am I administrator?
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>,Dan Lipofsky <dlipofsky at kurion dot com>
- Subject: Re: why am I administrator?
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- Date: Wed, 10 Jan 2001 16:14:07 -0500
- Cc: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- References: <81CC73FC2FACD311A2D200508B8B88AA1ADB05@kurion_exch.kurion.com>
At 04:07 PM 1/10/2001, Earnie Boyd wrote:
>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.
This seems to come up allot. Maybe we need an FAQ for this?
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
118 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple