8

I use cygwin at work to get quick access to unix tools and as an ssh terminal. I recently installed some new Cygwin packages and now when I try and open a terminal it is very slow and gives the following error:

/usr/bin/id: cannot find name for group ID 10519

I'm not sure what the error means, but it takes much longer to open a cygwin terminal now than it use to.

Greg Bray
  • 5,530
  • 5
  • 33
  • 52

4 Answers4

9

It appears to be related to my Active Directory username or group memberships. The error went away after running the following command as per this article:

mkpasswd -l -c > /etc/passwd; mkgroup -l -d > /etc/group

This updates the cygwin files with the latest AD user/group information.

Greg Bray
  • 5,530
  • 5
  • 33
  • 52
3

None of the modifications of /etc/group nor /etc/passwd helped me (not even those from the cited article). The problem was that I was trying to install babun under Domain User but without connection to the Domain network. After connecting to the Domain network everything worked fine out of the box.

JaKu
  • 155
  • 7
2

Instead of

mkgroup -l -d > /etc/group

I fixed the groups by issuing the two commands

mkgroup -l > /etc/group
mkgroup -c >> /etc/group

suggested further down in the comments of the article Cygwin users and groups.

Manuel Binna
  • 121
  • 3
0

For me, a combination of the last two approaches worked:

  1. Running babun install as the domain's user while in the domain, so that babun reinstalls.
  2. Re-populating /etc/group from mkgroup -l and -c.
473183469
  • 1,350
  • 1
  • 12
  • 23
tonank
  • 1