Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

make(1)

makedbm(8)

ypserv(8)

yppush(8)



  ypmake(8)                           CLIX                           ypmake(8)



  NAME

    ypmake - Rebuilds a Network Information Service (NIS) database

  SYNOPSIS

    cd /etc/yp; make [map]

  DESCRIPTION

    The file Makefile in the /etc/yp directory is used by make to build the
    Network Information Service (NIS) database.  With no arguments, make
    creates dbm databases for any NIS out-of-date maps and then executes
    yppush to notify slave databases of a change.

    If a map is supplied on the command line, make updates that map only.
    Entering make passwd creates and executes yppush on the password database
    (assuming it is out of date).  Likewise, make hosts and make rpc create
    and execute yppush on the host and on Remote Procedure Call (RPC) files
    /etc/hosts and /etc/rpc.

    Three special variables are used by make:  DIR, which gives the directory
    of the source file; NOPUSH, which, if non-null, inhibits a yppush of the
    new database files; and DOM, which is used to construct a domain other
    than the master's default domain.  The default for DIR is /etc, and the
    default for NOPUSH is the null string.

    Refer to ypfiles(4) and ypserv(8) for an overview of NIS.

  EXAMPLES

    To build the NIS database for the passwd map and notify all clients of the
    updated information, enter:

    cd /etc/yp; make passwd

  DIAGNOSTICS

    Diagnostic messages are self-explanatory.

  EXIT VALUES

    The ypmake command exits with a value of 0 if successful.  If
    unsuccessful, it exits with a value of 1.

  RELATED INFORMATION

    Commands:  make(1), makedbm(8), ypserv(8), yppush(8)






  2/94 - Intergraph Corporation                                              1




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026