Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ypinit(NADM) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

makedbm(NADM)

ypfiles(NF)

yppush(NADM)

ypxfr(NADM)

ypmake(NADM)

ypserv(NADM)

map2ascii(NADM)

nfs(NADM)


 ypinit(NADM)                    19 June 1992                    ypinit(NADM)


 Name

    ypinit - build and install network information service (NIS) databases

 Syntax

    ypinit -m
    ypinit -s mastername
    ypinit -c mastername

 Description

    ypinit sets up a network information service database on an NIS server.
    It can be used to set up a master server, a slave server, or a slave
    copier.  You must be the super user to run it.  It asks a few self-
    explanatory questions and reports its success or failure to the terminal.

    It sets up a master server using the simple model in which that server is
    master to all maps in the database.  This is the way to bootstrap the NIS
    system; later the association of maps to masters can be changed.  All
    databases are built from scratch, either from information available to
    the program at runtime or from the ASCII database files in /etc.  Some of
    these files are listed below under "Files".  Additional files may be han-
    dled by the network information service as required by the local
    environment.  All such files should be in their ``traditional'' form.

    An NIS database on a slave server is set up by copying an existing data-
    base from a running server.  The mastername argument should be the host-
    name of an NIS server, either the master server for all the maps or a
    server on which the data base is up-to-date and stable.

    An NIS database on a slave copier is set up by copying an existing data-
    base from a running server.  The mastername argument should be the host-
    name of an NIS server, either the master server for all the maps or a
    server on which the database is up-to-date and stable.  The only differ-
    ence between a slave server and a slave copier is that the slave copier
    does not respond to NIS requests from the network.

    In all three cases, ypinit modifies /etc/nfs to enable the automatic
    starting of the NIS daemons.  It also makes sure that they get started
    with the correct arguments.

    Refer to ypfiles(NF)and ypserv(NADM) for an overview of the network in-
    formation service.

 Options


    -m   indicates that the local host is to be the NIS master

    -s   set up a slave database

    -c   set up a slave copier database

 Files

    /etc/passwd, /etc/passwd.local, /etc/passwd.yp
    /etc/group, /etc/group.local, /etc/group.yp

 See also

    makedbm(NADM), ypfiles(NF), yppush(NADM), ypxfr(NADM), ypmake(NADM),
    ypserv(NADM), map2ascii(NADM), nfs(NADM)


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