Setting up NIS

Setting up the master server

The shell script /usr/sbin/ypinit (see ypinit(1Mnis)) helps you establish the master and slave servers. When you run ypinit, it prompts you for information about your NIS configuration and uses your responses to modify the file /etc/inet/nis.conf. At system startup, the scripts /etc/rc2.d/S51domain and /etc/rc2.d/S80nis (linked to /etc/init.d/nis) will start NIS automatically. ypinit also runs /var/yp/ypbuild (see ypbuild(1Mnis)) initially to create the maps and starts their propagation.


© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999