To set up the master NIS server on Caravan (4.10.6):
caravan$ wajig install nis
You will be asked to name the nis domain. You can call it anything and later edit it in /etc/defaultdomain. Let's call it ktnet.ktware.com (it has no formal relationship to the network domain name).
In the file /etc/default/nis set NISSERVER=master to identify caravelle as the master server.
To restrict who can access you NIS server add your local network number to the file /etc/ypserv.securenets
Now restart the NIS server:
$ wajig restart nis
Now set up the server:
# touch /etc/networks (because it does not exist) # /usr/lib/yp/ypinit -m
You will be asked to list all of your servers (just caravelle for now).
This essentially builds the maps from the current password file on caravelle. Note that you can't use the nis maps on caravelle itself - don't remove the users from caravelle's password file!