NAME
yyppsseerrvv - YP server daemon
SYNOPSIS
yyppsseerrvv [-11] [-aa aclfile] [-dd] [-xx]
DESCRIPTION
YYppsseerrvv is a fundamental part of the network information system called YP. This server provides information from YP maps to the YP clients on the network. A YP map is stored on the server as a db(3) database. A number of YP maps is grouped together in a domain. Ypserv determines the domains it serves by looking for a directory with the domain name in /var/yp. YP hasn't been known for high security through the years. In recent years security has improved by restricting access to the server. In SunOS 4.1 has a new file occured named /var/yp/securenet. It contains networks the server can assume is secure. For information about file format see securenet(5). Before the author of this server had seen securenet(5) another format wasimplemented ypserv.acl(5). This file format makes it possible to allow
and deny hosts and networks access to the server. This file can have anyname since it's given by the argument to -aa (use full path).
The file used can be reread by sending a SIGHUP to ypserv. The process
pid can be found in the file //vvaarr//rruunn//yyppsseerrvv..ppiidd If a host isn't secure all queries to the server will result in a YPNODOM result. If the file //vvaarr//yypp//yyppsseerrvv..lloogg exists then messages will be written to the file. If a directory named the same as the system domainname exists in //vvaarr//yypp//(ie. the domainname is ffoooo and directory //vvaarr//yypp//ffoooo exists), then ypserv
will be automatically started at boot time. The options are as follows:-11 Allow ypserv to answer old YP version 1 requests.
-aa aclfile
Don't use /var/yp/securenet. Use another file with another fileformat. For futher information see man page for ypserv.acl.
-dd Use Internet Domain Name System. If a query to map hosts.byname
or hosts.byaddr fails, make a DNS query and return the result ifsuccessful. Alternately, if these maps were built on the YP mas-
ter using mmaakkeeddbbmm -bb then DNS queries will be done without need-
ing to specify -dd.
-xx Terminate the server after processing aclfile or
/var/yp/securenet. FILES/var/yp/ypserv.log
/var/yp/securenet/var/run/ypserv.pid
SEE ALSO
yp(8), ypserv.acl(5), securenet(5), ypbind(1)
AUTHOR Mats O JanssonBSD June 27, 1994 BSD