*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> ypserv (8)              



NAME    [Toc]    [Back]

     ypserv - YP server daemon

SYNOPSIS    [Toc]    [Back]

     ypserv [-1] [-a aclfile] [-d] [-x]

DESCRIPTION    [Toc]    [Back]

     ypserv is a fundamental part of the network information system called YP.
     This  server  provides  information  from  YP maps to the YP
clients on the

     A YP map is stored on the server as  a  db(3)  database.   A
number of YP
     maps  are  grouped  together in a domain.  ypserv determines
the domains it
     serves by looking for a directory with the  domain  name  in

     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 occurred named /var/yp/securenet.
It contains
     networks the server can assume is secure.   For  information
about the file
     format, see securenet(5).

     Before  the  author of this server had seen securenet(5) another format,
     ypserv.acl(5), was implemented.  This file format  makes  it
possible to
     allow  and  deny  hosts  and  networks access to the server.
This file can
     have any name since it's given by the argument  to  -a  (use
full path).

     The  file  used can be reread by sending a SIGHUP to ypserv.
The process
     PID can be found in the file /var/run/ypserv.pid.

     If a host isn't secure all queries to the server will result
in a
     YP_NODOM result.

     If  the file /var/yp/ypserv.log exists then messages will be
written to
     the file.

     If a directory named the same as the system  domainname  exists in /var/yp
     (i.e.,   the   domainname   is  ``foo''  and  the  directory
/var/yp/foo exists),
     then ypserv will be automatically started at boot time.

     The options are as follows:

     -1      Allow ypserv to answer old YP version 1 requests.

     -a aclfile
             Don't use /var/yp/securenet.  Use another file  with
a different
             file    format.    For   further   information   see

     -d      Use Internet Domain Name System.  If a query to map
             ``hosts.byname'' or ``hosts.byaddr'' fails,  make  a
DNS query and
             return  the  result  if successful.  Alternately, if
these maps were
             built on the YP master using  makedbm  -b  then  DNS
queries will be
             done without needing to specify -d.

     -x      Terminate the server after processing aclfile or

FILES    [Toc]    [Back]


SEE ALSO    [Toc]    [Back]

     securenet(5), ypserv.acl(5), yp(8), ypbind(8)

AUTHORS    [Toc]    [Back]

     Mats O Jansson <moj@stacken.kth.se>

OpenBSD      3.6                           June      27,     1994
[ Back ]
 Similar pages
Name OS Title
soundscheme IRIX audio cue server (daemon)
timed FreeBSD time server daemon
timed IRIX time server daemon
timed OpenBSD time server daemon
uucpd HP-UX UUCP over TCP/IP server daemon
sdpd IRIX Session Directory Server Daemon
AM60Srvr HP-UX disk array server daemon
cvpcsd IRIX The WorkShop Debugger Server Daemon
rshd Tru64 The remote shell server daemon
joind Tru64 BOOTP and DHCP server daemon
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service