Marketplace:

 
Cheap web hosting provider with extensive free web hosting features
Register or buy domain name, include free email and domain forwarding services
Cheap and affordable domain name registration and domain name transfer from $2.95/yr

 

   

Setting Up The Master Server

next up previous contents index

Setting Up The Master Server

To set up the master NIS server on Caravan (98.8):



  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
  255.255.255.0 192.168.0.0


The password files on the server do not need to be changed.

Now restart the NIS server:



  $ wajig restart nis


Set up the server:



  # /usr/lib/yp/ypinit -m


You will be asked to list all of your servers (just caravan for now).

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!


next up previous contents index


Copyright (c) 1995-2004

 

      

Marketplace:
Facts: " Counting in binary is just like counting in decimal if you are all thumbs.   "  

Tuesday 22 May 2012 07:46:36 1337672796