Walter Belhaven
2006-03-16 19:19:01 UTC
Hi,
My Windows XP username is my full name ("First Last") and, therefore,
so apparently is my MinGW username. As a result, my username and my
home directory both have a space in them, causing certain Makefiles and
other stuff to fail.
Is there a way to change my username and/or home directory in MinGW? I
searched the archives but didn't see the answer.
I do see how to do it in cygwin, but I don't see the equivalent of
/etc/passwd in MinGW. I do see C:/msys/1.0/etc/profile which contains
these fateful lines:
# Set up USER's home directory
if [ -z "$HOME" ]; then
HOME="/home/$LOGNAME"
fi
Can I just edit this to say something like "HOME="/home/foo" without
breaking everything? I'm the only user on this system, so I don't care
if this "breaks" for someone else. I do care if it breaks for me
though. :) I'd rather not change my Windows username if at all
possible.
Thanks,
WB
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
My Windows XP username is my full name ("First Last") and, therefore,
so apparently is my MinGW username. As a result, my username and my
home directory both have a space in them, causing certain Makefiles and
other stuff to fail.
Is there a way to change my username and/or home directory in MinGW? I
searched the archives but didn't see the answer.
I do see how to do it in cygwin, but I don't see the equivalent of
/etc/passwd in MinGW. I do see C:/msys/1.0/etc/profile which contains
these fateful lines:
# Set up USER's home directory
if [ -z "$HOME" ]; then
HOME="/home/$LOGNAME"
fi
Can I just edit this to say something like "HOME="/home/foo" without
breaking everything? I'm the only user on this system, so I don't care
if this "breaks" for someone else. I do care if it breaks for me
though. :) I'd rather not change my Windows username if at all
possible.
Thanks,
WB
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com