Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

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
  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!

Copyright © 1995-2006 [email protected]

 
 
  Published under the terms fo the GNU General Public License Design by Interspire