I\'m trying to safely update the home directory as specified in /etc/passwd, but the standard Linux utils - usermod and vipw - for doing so aren\'t provided by
/etc/passwd
I only needed to be in C:\Users\username when I start cygwin. So, I just added to .bashrc and .profile
C:\Users\username
.bashrc
.profile
cd ${HOMEPATH}
If you prefer to use ~/. instead of $HOMEPATH, you can also add the following:
~/.
$HOMEPATH
export HOME=${HOMEPATH}
This way I don't disturb the cygwin installation.