Cannot See NIS Users' Secondary Groups When Using Compat Mode in Nsswitch.conf and Connecting Via SSH in Red Hat Enterprise Linux 6

Solution Verified - Updated -

Issue

When executing id <user> from an SSH session, secondary groups for NIS users do not show. /etc/nsswitch.conf is setup to use compat mode for the passwd and group lines:

passwd compat
group compat

Environment

Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content