首页
首页 » 其它 » ypinit

ypinit


ypinit

ypinit [options]

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

Options

-m

Indicate that the local host is to be the NIS master 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.