From owner-freebsd-questions Thu Dec 2 11: 6:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hawaii.rr.com (hnlmail2.hawaii.rr.com [24.25.227.35]) by hub.freebsd.org (Postfix) with ESMTP id 1096D14D26 for ; Thu, 2 Dec 1999 11:06:40 -0800 (PST) (envelope-from art@hawaii.rr.com) Received: from taz ([24.31.76.79]) by hawaii.rr.com with Microsoft SMTPSVC(5.5.1877.197.19); Thu, 2 Dec 1999 09:06:25 -1000 Message-Id: <3.0.6.32.19991202090613.008dc3d0@pop-server.hawaii.rr.com> X-Sender: art@pop-server.hawaii.rr.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Thu, 02 Dec 1999 09:06:13 -1000 To: freebsd-questions@FreeBSD.ORG From: "Art Neilson, WH7N" Subject: NIS (formerly yp) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please reply to this message via email as I'm not currently subscribed to -questions, only -stable and that's not the right place for this :^) I'm trying to setup NIS on a small test network of 3 boxes, a NIS master, slave and client. The idea is to only allow certain users to login to certain machines. The plan is to tailor the /etc/passwd file on different boxes to contain only the netgroups of users who are allowed there. For example master has /etc/netgroups containing root-users (,foo,), (,bar,), (,baz,) and the stock /etc/passwd (no users added after OS installation) on the client has the 1 netgroup added to the bottom +@root-users ypcat passwd on the client shows *all* the accounts in the /etc/passwd on the master. How do I see the logical join of the client's local /etc/passwd and the +@root-users from the NIS maps ? When/where does the expansion of the +@ stuff occur? ypbind,ypserv,ypxfrd and rpc.yppasswdd are running on the master, ypbind and ypserv on the slave and just ypbind on the client. Make in /var/yp on the master ran successfully and pushed the maps to the slave. ypcat passwd on the Please reply to this message via email as I'm not currently subscribed to -questions, only -stable and that's not the right place for this :^) -- __ / ) _/_ It is a capital mistake to theorise before one has data. /--/ __ / Insensibly one begins to twist facts to suit theories, / (_/ (_<__ Instead of theories to suit facts. -- Sherlock Holmes, "A Scandal in Bohemia" Arthur W. Neilson III, WH7N Bank of Hawaii Tech Support art@hawaii.rr.com, art@boh.com, ah6pz@arrl.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message