Groups command fails for large groups on some systems

Bob Edwards Robert.Edwards at
Wed Jan 15 18:16:48 EST 2003

Stating the obvious, you have checked your /etc/nsswitch.conf files to make 
sure that the group database is coming from nisplus and not somewhere else?
Also, are the /etc/group files identical on all machines, or do some have the 
groups listed directly in the file?


Bob Edwards.

Scott Croft wrote:
> All,
>    I have several RH 8.0 systems in NIS+. A couple are fully functional
> in the fact that when you type 'groups <username>' it returns the
> correct value. On the otherhand, I have some that return:
> id: cannot find name for group ID #####
> At first I thought that it was the kernel, but on a couple, the kernel
> is the same and I still get the error. I have looked at the differences
> in libraries, if any, with none to be found.
> I realize the groups uses the command 'id -Gn' to return the correct
> value. The permissions on the /etc/group, /etc/passwd, and /etc/shadow
> are correct. The /etc/pam.d/system-auth files are the same also.
> I am dumbfounded as to why it works on one system and not another. Any
> help would be appreciated.

More information about the linux-nisplus mailing list