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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.