BACKGROUNDTrevor logs into his account on ssh://foobar.university.edu as one of the developers on the box, and he gets the message: id: cannot find name for group ID 131Trevor then checks this out using  vim /etc/groupPROBLEMTrevor discovers that there is no 131 anywhere in the /etc/group file.Trevor then runs id ... > id trevor uid=4460(trevor) gid=131 groups=48(foobar),51(doobar),131To discover his primary group apparently does not have a name attached to it.QUESTIONSWhat likely happened to cause this circumstance on the foobar.university.edu box ?Suppose trevor wants to fix this (e.g., by just creating a trevor group that maps to GID 131) what is the best way to do this without potentially breaking anything else on the server ?
Error message id: cannot find name for group ID after logging in
login;group;etc
What likely happened is that the UID and GID are provided to the server via LDAP.  If the /etc/group file doesn't contain the translation for the GID, then the server administrators likely just failed to update the group definitions.  What can you do?  Not much.  The user id is controlled by the administrator. (Now if you happen to have ROOT privileges, you can add the group into /etc/group.  You should also check to see if any other user accounts are using the same group, and if they are, name the group appropriately).