delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/08/14:00:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: "cannot find username for UID XXX"
From: Johan Parin <Johan DOT Parin AT era DOT ericsson DOT se>
Mail-Followup-To: cygwin AT cygwin DOT com
Date: Fri, 08 Aug 2003 19:59:31 +0200
Message-ID: <mollu4yqrg.fsf@EFOLJ000L5270TI.eemea.ericsson.se>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN,
cygwin32)
MIME-Version: 1.0

Hi all,

Just installed Cygwin on Win2K. It's working fine except that I don't
have a username ;( . This has some bad consequences like not being
able to use ssh. id returns the following:

uid=479 gid=10513(mkgroup_l_d)
groups=544(Administrators),545(Users),10513(mkgroup_l_d)

uid 479 is not in passwd, as can be seen in attachment.

My username should be erajpaa. I have no idea where Cygwin picks up
uid 479 from. If I start up cmd.exe, I can see the following USER
related variables:

ALLUSERSPROFILE=C:\Documents and Settings\All Users
USERDNSDOMAIN=eemea.ericsson.se
USERDOMAIN=EEMEA
USERNAME=erajpaa
USERPROFILE=C:\Documents and Settings\erajpaa

These are inherited by the Cygwin shell, which however also creates

USER=479

Could I have done something wrong during installation, or can I do
something to fix this now?

Should I change the uid for erajpaa in passwd, or can I do something
to convince Cygwin I'm uid 66015 instead?

Any help is appreciated.


-- 
Johan Parin <Johan DOT Parin AT era DOT ericsson DOT se>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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