Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Dec 1999 09:06:13 -1000
From:      "Art Neilson, WH7N" <art@hawaii.rr.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   NIS (formerly yp)
Message-ID:  <3.0.6.32.19991202090613.008dc3d0@pop-server.hawaii.rr.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.19991202090613.008dc3d0>