Let's make the world a better place using digital technologies!

Cygwin Installation: mkpasswd and mkgroup issue

You get this message when you start 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.

Issue the following commands to fix it:

mkpasswd -l -c > /etc/passwd

mkgroup -l -d > /etc/group

It will create a local user based on the current logged on user. The groups will be fetched from the domain. For the local installation the “-d” option can be omitted from mkgroup command.

Thanks to sinewalker for this tip.



View more posts from this author

Leave a Reply

Your email address will not be published. Required fields are marked *