If ypserv on the master is disabled, you can no longer update any of the NIS maps. If you choose to turn off NIS on a network currently running it, you can disable NIS after the next reboot by renaming the ypbind file to ypbind.orig, as follows.
% mv /usr/lib/netsvc/yp/ypbind /usr/lib/netsvc/yp/ypbind.orig |
To disable NIS after the next reboot on a particular NIS slave or master, type the following on the server in question.
% mv /usr/lib/netsvc/yp/ypserv /usr/lib/netsvc/yp/ypserv.orig |
To stop NIS immediately, type the following.
% /usr/lib/netsvc/yp/ypstop |
The NIS service is automatically restarted after the next reboot unless the ypbind and ypserv files are renamed as described above.