Install NIS server


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
  • edit /etc/sysconfig/network to add NISDOMAIN
    • NISDOMAIN="research"
  • create the file /var/yp/securenets
    • host
  • 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