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: Tue, 3 Jun 2003 11:22:34 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Hans Deragon (LMC)" cc: cygwin AT cygwin DOT com Subject: RE: New setup: User not found? /cygdrive/h as default home directory? In-Reply-To: <7B2A7784F4B7F0409947481F3F3FEF830A744835@eammlex037.lmc.ericsson.se> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hans, Look at the last number in the SID (last comma-separated entry in the gecos (fifth) field of your /etc/passwd line). For example, on my machine: igor::1001:544:Igor Pechtchanski,U-igor,S-1-5-21-1681344628-1719607816-643004363-1001:/home/igor:/bin/bash ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The underlined part is the SID. The sequence of digits after the last "-" (dash) is 1001, so my real user id is 1001. In your case, it will be some large number. Igor On Tue, 3 Jun 2003, Hans Deragon (LMC) wrote: > Mmm... stupid question, but how does one get the full user id on a > windows machine? I search Google groups, but could not find any > reference to this. If my user id is not 18544, how can I find which one > it is? > > Sincerely, > Hans Deragon > > -----Original Message----- > From: Pierre A. Humblet [mailto:pierre DOT humblet AT ieee DOT org] > Sent: Monday, June 02, 2003 8:10 PM > To: cygwin AT cygwin DOT com > Subject: Re: New setup: User not found? /cygdrive/h as default home directory? > > On Mon, Jun 02, 2003 at 02:07:11PM -0400, Hans Deragon (LMC) wrote: > > Greetings. > > > > Long time user of cygwin. Got a new job and off course, first thing > > I do is install it. However, I am encounting a problem I never had in > > previous installations. The installation was successfull, but when I > > started a command line window (cygwin.bat), I got the following: > > > > id: cannot find name for user ID 18544 > > Hans, > > here is another possibility in addition to what Igor already wrote. > You may have a uid > 64k. If that is the case, edit /etc/passwd and > change it (the next version of Cygwin will use 32 bit uids). > > > mkdir: cannot create directory `/cygdrive/h': No such file or directory > > cp: cannot create regular file `/cygdrive/h//.bash_profile': No such file or directory > > bash: cd: /cygdrive/h: No such file or directory > > If you installed as a domain user, the installation program created an > entry for you with the command "mkpasswd -l -c". It uses > HOMEDRIVE/HOMEPATH to determine your home directory. Run "mkpasswd -l > -c" and look at the last line to see who Cygwin thinks you are. > > Pierre -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) 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/