This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "cannot find username for UID XXX"


Johan,

Try using the mkgroup and mkpassword utilities described in
http://cygwin.com/cygwin-ug-net/using-utils.html.

-Mark

----- Original Message -----
From: "Johan Parin" <Johan.Parin@era.ericsson.se>
To: <cygwin@cygwin.com>
Sent: Friday, August 08, 2003 1:59 PM
Subject: "cannot find username for UID XXX"


>
> 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 Parin <Johan.Parin@era.ericsson.se>
>
>
> --
> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]