Install NIS server

Overview: 

How to configure an NIS master machine

  • Install packages yp-tools, ypbind, and ypserv
  • edit /etc/yp.conf to add domain/server information
    • domain research server utility1.cs.rochester.edu
  • edit /etc/sysconfig/network to add NISDOMAIN
    • NISDOMAIN="research"
  • create the file /var/yp/securenets
    • host 127.0.0.1
    • 255.255.255.0 128.151.67.0
  • change /var/yp/Makefile to create shadow map
    • MERGE_PASSWD=false
    • add "shadow" to "all" target
  • initialize the NIS maps
    • /usr/lib/yp/ypinit -m
  • Enable yp daemons to start at boot
    • /sbin/chkconfig ypserv on
    • /sbin/chkconfig yppasswdd on
    • /sbin/chkconfig ypxfrd on