ypsetup(8yp)
Name
ypsetup − set up the yellow pages (YP) environment
Syntax
/usr/etc/ypsetup
Description
A local area network must be set up on your system before you can set up YP. You must know your system’s default YP domain name and whether your system will be a master server, slave server, or client. If your system is to be the master server for your YP domain, be sure no other master has been established and be sure the files to be distributed are in the directory /var/yp/src. Note that the files to be distributed should be modified from the original /etc files by removing the root entry in the /etc/passwd file.
If your system is not to be the master server, be sure a master already exists for your YP domain. Once you know this information, run ypsetup with the system in multiuser mode and answer its questions.
Once YP is installed on a machine, it cannot be used until the /etc/svc.conf file is modified to contain YP entries on the desired database lines. The ypsetup command reminds a user to run /usr/etc/svcsetup or edit the /etc/svc.conf file manually.
Files
Files that Start the YP daemons
/etc/crontab Clock daemon database file
/etc/rc.local Commands pertinent to a specific system
Default YP Map Files
group Group database
hosts Host name database
mail.aliases Sendmail alias database
netgroup Network group aliases
networks Network name database
passwd Password file
protocols Protocol name database
rpc Rpc name database
services Service name database
See Also
domainname(1yp), ypwhich(1yp), svc.conf(5), svcsetup(8), yppasswdd(8yp), ypserv(8yp), ypxfr(8yp)
Guide to the Yellow Pages Service