Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 8 Aug 2003 15:01:42 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Johan Parin cc: cygwin AT cygwin DOT com Subject: Re: "cannot find username for UID XXX" In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 8 Aug 2003, Johan Parin wrote: > 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, Your UID is greater than 65536 (which is the limit for 16-bit uids). You can do one of two things: (1) edit /etc/passwd and change your UID to something else (yes, you can do *that*); 479 should do just as well as anything else, as long as does not belong to any other user in the passwd file, or (2) upgrade to the *experimental* version 1.5.1 (or is .2 out already?) that uses 32-bit UIDs. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/