delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/19/18:42:35

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.20010719175257.02105fa8@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: Thu, 19 Jul 2001 18:00:20 -0400
To: Peter =?iso-8859-1?Q?Schr=F6der?= <ps AT cs DOT caltech DOT edu>, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: id doesn't seem to work properly for multiple users under
W2K
In-Reply-To: <3B57101D.858D4D33@cs.caltech.edu>
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id SAA01847

At 12:51 PM 7/19/2001, Peter Schröder wrote:
>I've installed cygwin as administrator. Now when I am myself and run the
>bash shell "id -un" returns administrator instead of "ps" with
>predictable results. I did set HOME environment variables correctly so
>at least I am in my own directory. Where does id get its idea as to who
>the current user is? I did notice that /etc/passwd contains entries for
>all manner of accounts, but not mine. What's the right process to fix
>this?



First, look in the email archives for similar issues and try what's 
suggested there.  Then, read the documentation at www.cygwin.com for
areas related to your area of interest.  Then, if you're still left
with a question, query the list.  Actually, this is the recipe for 
all questions you may have, not just this one.  In this case, your
/etc/passwd file is wrong and that's what's causing your troubles.
See the Cygwin user guide for information on how to create this and
the /etc/groups files.  Specifically, you may want to look at

http://www.cygwin.com/cygwin-ug-net/using-utils.html#MKPASSWD
http://www.cygwin.com/cygwin-ug-net/using-utils.html#MKGROUP

There are also oodles of similar questions with answers on this topic 
in the email archives, if you'd be interested in looking there.  But the 
basics you should be able to get from the User's Guide.




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


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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