- Go to Control Panel --> System and Security --> System (or press the [WINDOWS]+PAUSE|BREAK] keys)
- Click Advanced system settings (located at the left)
- Click Environment Variables (toward the bottom)
- In the User Variables area click "New…"
- For Variable name enter HOME
- For Variable value enter %USERPROFILE%
- Click OK in all the open dialog boxes to apply this new setting
cp /etc/passwd /etc/passwd.bak mkpasswd -l -p $(cygpath -H) > /etc/passwd mkpasswd -d -p $(cygpath -H) >> /etc/passwd
cp /etc/group /etc/group.bak mkgroup -l > /etc/group mkgroup -d >> /etc/group
Exit Cygwin and start it up again.
No comments:
Post a Comment