User is a Part of a Group But Group Details Do Not Show the User

Hi,

In the following output you can see the the user "richard" is a member on the team/group "developers":

[root@devapp ~]# id  richard
uid=10247(richard) gid=100361(developers) groups=100361(developers),10053(testers)

but in the following details of the said group (developers), the said user (richard) is not found:

[root@devapp ~]# getent group developers
developers:*:100361:jack,philip,russel
[root@devapp ~]#

How comes it?

Please Note:

  1. This is a Red Hat EL box and we use Windows AD accounts for log-ins on this Red Hat server; and this particular user is not able log in to the server.
  2. The details of the other group "testers" show that the user "richard" is on the list.

richard (uid 10247) does not need to be explicitly listed in the developers group (gid 100361) because that is his/her primary group membership ... you can add richard into the developers group list but that is unnecessary though it would make it easier to see who the group members are ...

as for being able to login into the server -- assuming the user's account is properly setup -- the only other thing missing would be the user's home directory on the server ... since this user's account seems to be new, it would not be surprising to know that he/she is not able to access his/her home directory on the rhel box (i.e., home directory not created, wrong permissions, wrong ownership, etc.) ...

The user's home directory is present and it has correct permissions. The account is an old one.

run su - richard at the command line as root and note the error messages ... make sure user richard is able to read and write to his/her directory ...

if okay, check user's /etc/passwd listing as well as compare the user's account settings with other user accounts that have no issues ...

really the only reason a user cannot login on a server is a misconfiguration on the user account in some way ...