Users unable to newgrp to secondary group from NIS master

Solution Unverified - Updated -

Issue

  • I have a group 'users' that i've added it to a NIS group file as the secondary group for some users.
  • Although I tried to newgrp into the group 'users' with one of the users, it just came back with "Sorry" and does not change the group.
> newgrp users
Sorry.
  • /etc/nsswitch.conf has the following information
passwd:     files nis
shadow:     files nis
group:      files nis
  • The group 'users' is not present in the /etc/group file on the NIS Client.
  • "ypcat group" command can return the group information correctly including all members.

Environment

  • Red Hat Enterprise Linux (RHEL) 5
  • 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