From: http://blog.csdn.net/deaboway/article/details/6461587
我的Cygwin报:
- Your group is currently "mkpasswd". This indicates that
- the /etc/passwd (and possibly /etc/group) files should be rebuilt.
- See the man pages for mkpasswd and mkgroup then, for example, run
- mkpasswd -l [-d] > /etc/passwd
- mkgroup -l [-d] > /etc/group
- Note that the -d switch is necessary for domain users.
- bash: build_ajsc_emulator.sh: command not found
产生原因:
原来的windows系统用户名与新装的系统用户名不一样所致
解决办法:
1. 按照提示运行
$ mkpasswd -l > /etc/passwd
$ mkgroup -l > /etc/group
再重新运行cygwin.bat就好了.
2.也可以直接修改/etc/passwd,把里面涉及到原系统用户名的地方都更新为现在的用户名。