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 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.