This message occurs every time you start your freshly installed Cygwin when you’re logged in as a domain user.
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, run
mkpasswd -l [-d] >> /etc/passwd
mkgroup -l [-d] >> /etc/group
Note that the -d switch is necessary for domain users.
Important: You need to install Cygwin with the user you are logged in with.
Tip: Remove the word “setup” from the cygwin executable to be able to install it without administrator privileges. (e.g. setup-x64.exe should be renamed to cygwin-x64.exe)
- mkpasswd -l only shows my local users, and not the domain user I’m logged in with, so that does not solve this.
- mkpasswd -l -d get an enormous amount of users because it tries to replicate my whole organisation, which is not necessary.
We just need our current user ( mkpasswd -c ) to be sent to the /etc/passwd and /etc/group files, to do this, we use this command:
mkpasswd -c >> /etc/passwd
mkgroup -c >> /etc/group
After that, our current account is added to both /etc/passwd and /etc/group and the annoying greeting message is gone!