How to Set Up a Subdomain NIS+ Master

How to Set Up a Subdomain NIS+ Master


The subdomain server must already be setup as a client of the domain
above it (see Section 3.3). This may be the root domain, or some
subdomain. After it is, you should start rpc.nisd:

subdomain-master# rpc.nisd

Then, you should login to the master of the domain above your current
domain, and execute nisserver (root-master is used in this example,
but this could also be some higher subdomain-master):

root-master# nisserver -v -M -d subdomain_name -h subdomain_master

(where subdomain_name is the name of your new NIS+ subdomain, and
subdomain_master is the name of your Subdomain master.)

You will then want to populate the NIS+ tables for your new Subdomain.
This is done on your subdomain master, in a similar manner to that
described in Section 3.2:

subdomain-master# cd /var/tmp/nisfiles
subdomain-master# nispopulate -v -F

Afterwards, reboot your new subdomain master.


Home
FAQ