Name

ypxfr

Synopsis

ypxfr [options] mapname

Description

NFS/NIS command. Transfer an NIS map from the server to the local host by making use of normal NIS services. ypxfr creates a temporary map in the directory /etc/yp/domain (where domain is the default domain for the local host), fills it by enumerating the map’s entries, and fetches the map parameters and loads them. If run interactively, ypxfr writes its output to the terminal. However, if it is invoked without a controlling terminal, and if the log file /usr/admin/nislog exists, it appends all its output to that file.

Options

-b

Preserve the resolver flag in the map during the transfer.

-C tid prog ipadd port

This option is for use only by ypserv. When ypserv invokes ypxfr, it specifies that ypxfr should call back a yppush process at the host with IP address ipadd, registered as program number prog, listening on port port, and waiting for a response to transaction tid.

-c

Do not send a “Clear current map” request to the local ypserv process.

-d domain

Specify a domain other than the default domain.

-f

Force the transfer to occur even if the version at the master is older than the local version.

-h host

Get the map from host, regardless of what the map says the master is. If host is not specified, ypxfr asks the NIS service for the name of the master and tries to get the map from there. host may be a name or an Internet address in the form h.h.h.h.

-S

Use only NIS servers running as root and using a reserved port.

-s domain

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.