Setting Up The Master Server
To set up the master NIS server on Caravan (101.11):
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 (it has no formal relationship to the
network domain name).
In the file /etc/default/nis set NISSERVER=master to
identify caravan as the master server.
To restrict who can access you NIS server add your local network
number to the file /etc/ypserv.securenets:
# Restrict to local network
The password files on the server do not need to be changed.
Now restart the NIS server:
Set up the server:
You will be asked to list all of your servers (just caravan for
This essentially builds the maps from the current password file on
caravan. Note that you can't use the nis maps on caravan itself -
don't remove the users from caravan's password file!
Copyright © 1995-2006 [email protected]