From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Darryl Cook Newsgroups: gmane.os.tru64.managers Subject: Summary: Nis question (netgroup) Date: Thu, 16 May 2002 07:44:38 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3CE39BA6.C38FDA97@cs.appstate.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1021550762 15066 127.0.0.1 (16 May 2002 12:06:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 16 May 2002 12:06:02 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 178K1B-0003uc-00 for ; Thu, 16 May 2002 14:06:01 +0200 Original-Received: (qmail 5526 invoked by uid 5); 16 May 2002 11:46:17 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 5518 invoked from network); 16 May 2002 11:46:17 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 16 May 2002 11:46:17 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GW700JTLCP5HM@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 16 May 2002 07:46:17 -0400 (EDT) Original-Received: from cs.cs.appstate.edu (cs.cs.appstate.edu [152.10.113.12]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GW700GC5CMI91@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 16 May 2002 07:46:03 -0400 (EDT) Original-Received: from cs.appstate.edu (tapir.cs.appstate.edu [152.10.114.103]) by cs.cs.appstate.edu (8.12.2/8.12.2) with ESMTP id g4GBiTkB200595 for ; Thu, 16 May 2002 07:44:29 -0400 (EDT) Original-To: Tru64 Mailing List X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en Xref: main.gmane.org gmane.os.tru64.managers:226 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:226 Thanks to Grant Ward, Pat O'Brien, Jan Schepers, Lucio Chiappetti, David Ross, Richard Westlake, Bob Vickers, Lucien Hercaud, Steve Herber and Joseph Senulis for the following : Original Question: How to configure NIS so that only certain NIS users can login to certain clients. Answer: Set up a netgroup on the master by creating the following in the /var/yp/src/netgroup file map. groupname1 (,user1,) (,user2,) etc groupname2 (,user1,) (,user2,) etc then on the client side remove the +:: or +:* from the end of the passwd file and replace it with +@groupname1 or groupname2. Put a -:*.* after that so that nothing else can be allowed. thanks, darryl