Summary: Nis question (netgroup)

From: Darryl Cook <dlc_at_cs.appstate.edu>
Date: Thu, 16 May 2002 07:44:38 -0400

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 +_at_groupname1 or groupname2. Put a -:*.* after
that so that nothing else can be allowed.

thanks,
darryl
Received on Thu May 16 2002 - 11:46:21 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT