Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Soren Andersen" <soren@wonderstorm.com>
To: cygwin@cygwin.com
Date: Wed, 10 Jan 2001 18:19:49 -0500
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Re: why am I administrator?
Reply-to: soren@wonderstorm.com
Message-ID: <3A5CA7C5.29441.4CECF7@localhost>
In-reply-to: <4.3.1.2.20010110161318.021f0e48@pop.ma.ultranet.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)

On 10 Jan 2001, an entity purporting to be Larry Hall (RFK Partners, Inc)
[Larry Hall (RFK Partners, Inc) <lhall@rfk.com>] wrote [regarding Re: why am I administrator?]

> 
> This seems to come up allot.  Maybe we need an FAQ for this?
> 

Yes! That we do. I have long been puzzled and am still confused about 
this. How do I do what Earnie wrote in the previous msg:

[Earnie Boyd:]
> 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.

I want to know if I can be another user without actually logging in to NT 
as somebody else (I don't have anyone else using my machine and I 
don't want the expenditure of disk space and perhaps loading / boot 
additional time that I think this increased complexity might cause). I 
would like to be a different user so that I can build certain packages in a 
certain way -- logging to bash with a different env set up and ready to go.

I tried the same thing: I set "USER=soren" in my NT env but bash always 
recognizes me only as "Administrator".

   soren


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

