This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Home dir is "/"
I've seen this as well, particularly on Win2K systems at work where you use
domain credentials to log into your machine.
Here's what I did to fix it (at the cygwin bash prompt):
$ mkpasswd -d -u myusername >> /etc/passwd
The mkpasswd command creates entries intended for /etc/passwd. The "-d"
means to get information from a domain (the default domain). The "-u" means
to use the information for "myusername" in the given domain.
I hope this makes sense and helps.
-Abe
----- Original Message -----
> I've installed cygwin 1.3.18-1 on an XP system and
> found it set my home dir as "/" instead of
> /home/<NT_USERNAME> like it normally does. Within
> cygwin, I see that /home isn't even there. Even after
> making my homedir, it still still puts me at root when
> I launch a shell. I noted that I am not in /etc/passwd
> as well. Should I be? If this is common problem, could
> someone clue me in please?
--
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/