The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

ypinit (8)
  • ypinit (1) ( Solaris man: Команды и прикладные программы пользовательского уровня )
  • >> ypinit (8) ( FreeBSD man: Команды системного администрирования )
  • ypinit (8) ( Linux man: Команды системного администрирования )

  • BSD mandoc
     

    NAME

    
    
    ypinit
    
     - build and install NIS databases
    
     
    

    SYNOPSIS

    -m [domainname ]
    -s master_server [domainname ]
    -u [domainname ]  

    DESCRIPTION

    The utility is a script which sets up databases on a Network Information Service (NIS) master or slave server.

    On a master server, creates the /var/yp/$DOMAINNAME directory, the /var/yp/ypservers file, and calls /var/yp/Makefile to create and populate an initial set of NIS maps. The maps are created from local source files using the yp_mkdb8 utility. The utility will prompt the user for a list of servers that support the specified domain; this list is used to populate the ypservers map.

    On a slave server, creates the /var/yp/$DOMAINNAME populates it with copies of the NIS maps from the master. The maps are obtained from the master using the ypxfr(8) utility. The utility obtains the list of maps to transfer in one of two ways: if the system is configured as an NIS client and is bound to the master server, is able to use the ypwhich(1) utility to obtain a list of maps exported by the master server. If the system is not configured as a client of the NIS master, uses a hardcoded list of maps, some of which may or may not actually exist on the master. The system administrator can edit the script and modify the map list if necessary. Otherwise, individual maps can be transfered manually from the master using ypxfr(8).  

    OPTIONS

    The utility supports the following options:

    -m [domainname ]
    Set up a master server. By default, sets up a server for the system default domain. The user can override this default by specifying domainname explicitly. Maps are constructed from scratch using local files as templates using the yp_mkdb8 utility.
    -s master_server [domainname ]
    Set up a slave server using master_name as the master. Maps are copied from master_server to the slave using ypxfr(8). By default, sets up a server for the system default domain. The user can override this default by specifying domainname explicitly.
    -u [domainname ]
    Update the ypservers map on the master server. When a new slave server is added to a domain, its hostname must be added to the ypservers map so that yppush(8) can propagate updates on the master to all of the slaves.

     

    FILES

    /etc/bootparams
    Bootparams source file
    /etc/ethers
    Ethers data source file
    /etc/group
    Group source file
    /etc/hosts
    Hostname/IP address source file
    /etc/netid
    RPC netid source file
    /etc/networks
    Networks source file
    /etc/protocols
    Protocols source file
    /etc/publickey
    RPC public key/secret key source file
    /etc/services
    Services data source file
    /etc/shells
    Shells source file
    /var/yp/master.passwd
    Passwd database source file
    /var/yp/netgroup
    Netgroup data source file
    /var/yp/ypservers
    Ypservers source file (generated by )

     

    SEE ALSO

    mknetid(8), revnetgroup(8), yp(8), yp_mkdb8, yppush(8), ypserv(8), ypxfr(8)  

    HISTORY

    This version of is based on the script in Ox . It first appeared in Fx 3.0 .  

    AUTHORS

    An -nosplit The original script was written by An Mats O Jansson Aq [email protected] . It was modified for Fx by An Bill Paul Aq [email protected] .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    OPTIONS
    FILES
    SEE ALSO
    HISTORY
    AUTHORS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру