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

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
Message-Id: <4.3.1.2.20010110155947.021d3568@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Wed, 10 Jan 2001 16:02:15 -0500
To: Dan Lipofsky <dlipofsky AT kurion DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: RE: why am I administrator?
Cc: Dan Lipofsky <dlipofsky AT kurion DOT com>
In-Reply-To: <81CC73FC2FACD311A2D200508B8B88AA1ADB06@kurion_exch.kurion.
com>
Mime-Version: 1.0

At 03:54 PM 1/10/2001, Dan Lipofsky wrote:


>Larry Hall wrote:
> > At 03:22 PM 1/10/2001, 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.
> > <snip>
> > 
> > I believe USER is set in /etc/profile by setup.  Take a look there and
> > alter it as you wish.
>
>It is.  I see that it is set by
>         USER="`id -un`"
>So the question then become "Why is id returning the wrong thing?".
>I can change the line to set USER to $USERNAME, but perhaps there
>is something else that should be fixed here.



Yes, thanks for that reminder about how USER is set (I don't use setup
myself;-))  You want to edit your /etc/passwd to set your user name 
correctly for your user id.



Larry Hall                              lhall AT rfk DOT 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

- Raw text -


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