This is the mail archive of the
mailing list for the Cygwin project.
RE: New setup: User not found? /cygdrive/h as default home directory?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Hans Deragon (LMC)" <Hans dot Deragon at ericsson dot ca>
- Cc: cygwin at cygwin dot com
- Date: Tue, 3 Jun 2003 11:22:34 -0400 (EDT)
- Subject: RE: New setup: User not found? /cygdrive/h as default home directory?
- Reply-to: cygwin at cygwin dot com
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
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
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?
> Hans Deragon
> -----Original Message-----
> From: Pierre A. Humblet [mailto:email@example.com]
> Sent: Monday, June 02, 2003 8:10 PM
> To: firstname.lastname@example.org
> 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
> 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.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,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