The NIS/NYS server software can be found on:
Site Directory File Name
ftp.lysator.liu.se /pub/NYS ypserv-0.11.tar.gz
ftp.univie.ac.at /unix/system/linux/funet/BETA/NYS ypserv-0.11.tar.gz
mcsun.eu.net /os/linux/BETA/NYS ypserv-0.11.tar.gz
The server setup is the same for both NIS and NYS.
Compile the software to generate the 'ypserv', 'dbcat' and 'dbload' programs. Firstly, determine what files you require to be available via NIS/NYS and then add or remove the appropriate entries to the ypMakefile. Now build the DBM files by
% make -f ypMakefile
Make sure the portmapper (rpc.portmap) is running, and start the server 'ypserv'. The command
% rpcinfo -u localhost ypserv
should output something like
program 100004 version 2 ready and waiting
That's it, your server is up and running.
Whenever users change their passwords, the NIS password database and probably other NIS databases, which depend on the NIS password database, should be updated. The program "yppasswdd" is a server that handles password changes and makes sure that the NIS information will be updated accordingly. The software for "yppasswdd" can be found on:
Site Directory File Name
ftp.lysator.liu.se /pub/NYS yppasswdd-0.1.tar.gz
Once you obtained the software, please follow the instructions which come with the software.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter