Mail Archives: cygwin/2003/06/03/09:38:35
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 -