Cygwin: Your group is currently “mkpasswd”
I just updated my cygwin environment and started receiving following errors upon login to console:
Your group is currently “mkpasswd”. This indicates that your
gid is not in /etc/group and your uid is not in /etc/passwd.The /etc/passwd (and possibly /etc/group) files should be rebuilt.
See the man pages for mkpasswd and mkgroup then, for example, runmkpasswd -l [-d] > /etc/passwd
mkgroup -l [-d] > /etc/groupNote that the -d switch is necessary for domain users.
To resolve the problem, simply follow the direction above.
$ mkpasswd -l > /etc/passwd
$ mkgroup -l > /etc/group
$
That is all.
Comments
3 Responses to “Cygwin: Your group is currently “mkpasswd””
Leave a Reply
All that is required unless you are in a domain. Then you have to use the -d switch and dump however many groups are defined for your company.
In my case, over 25,000.
It would be nice to know the exact minimum that will still work, since I am the only user of Cygwin on this computer.
Same here. I’m on a domain with quite a few accounts and groups, but I just need me.
… I figured out what to do in your case, Naruki. (I had the same situation.)
mkpasswd -c > /etc/passwd
mkgroup -c > /etc/group
That takes your own information and puts it in those files. (See manpage.)