delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/03/09:38:35

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
Message-ID: <7B2A7784F4B7F0409947481F3F3FEF830A744835@eammlex037.lmc.ericsson.se>
From: "Hans Deragon (LMC)" <Hans DOT Deragon AT ericsson DOT ca>
To: cygwin AT cygwin DOT com
Subject: RE: New setup: User not found? /cygdrive/h as default home dire
ctor y?
Date: Tue, 3 Jun 2003 09:38:18 -0400
MIME-Version: 1.0

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
director y?


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 dir
> ectory
> 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


--
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/

--
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