Setting Up an NIS Server
Setting up an NIS server involves the following steps:
Set a domain name for NIS using domainname.
Edit the ypMakefile, which identifies which databases to build and what sources to use in building them.
Copy the ypMakefile to /var/yp/Makefile.
Run make from the /var/yp directory, which builds the databases and initializes the server.
Start ypserv, the NIS server daemon.
Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.