username problem

Elfyn McBratney elfyn-cygwin@exposure.org.uk
Wed Feb 5 22:45:00 GMT 2003


> I just installed the latest cygwin on my Win2K machine. When I open a
> shell, my prompt is "t-ow@naddaf2". On the other hand, "id" reports my
> username as "anaddaf" which is the username that I use when I login to my
> Win2K machine. I saw similar postings and the suggested solution was to
> update the /etc/passwd file but in my case, it won't do any good since my
> /etc/password is identical to the "mkpassword -l".

Are you sure they are exaclty the same. No changes in the Sid? Just to be on
the safe side you should update your /etc/{passwd,group} file just to be
certain that's not whats holding you back.

> What is puzzling me is that the user "anaddaf" which "id" reports doesn't
> even exist in the /etc/passwd, nor does "t-ow". When I open the shell, it
> takes me to the /home/Administrator directory. If I create a file, the
> "owner/group" of my file will be set to "anaddaf/mkgroup" and again
> "mkgroup" doesn't even exist in the /etc/group file.

Hmmmm tahts odd :-( What is the contents of your CYGWIN environment variable

$ echo $CYGWIN


Regards,

Elfyn McBratney
elfyn@exposure.org.uk
www.exposure.org.uk



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list