delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/10/18:22:37

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
From: "Soren Andersen" <soren AT wonderstorm DOT com>
To: cygwin AT cygwin DOT com
Date: Wed, 10 Jan 2001 18:19:49 -0500
MIME-Version: 1.0
Subject: Re: why am I administrator?
Reply-to: soren AT wonderstorm DOT 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 AT rfk DOT 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

- Raw text -


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