Name

ypinit

Synopsis

ypinit [options]

Description

NFS/NIS command. Build and install an NIS database on an NIS server. ypinit can be used to set up a master or a slave server or slave copier. Only a privileged user can run ypinit.

Options

-c master_name

Set up a slave copier database. master_name should be the hostname 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.

-m

Indicates that the local host is to be the NIS server.

-s master_name

Set up a slave server database. master_name should be the hostname 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.

Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.