YPPUSH(8) | NIS Reference Manual | YPPUSH(8) |
NAME¶
yppush - force propagation of changed NIS databases
SYNOPSIS¶
/usr/sbin/yppush [-d domain] [-t timeout] [--parallel # | --port port] [-h host] [-v] mapname...
DESCRIPTION¶
yppush copies updated NIS databases (or maps) from the master NIS server to the slave servers within a NIS domain. It is normally run only on the NIS master by /var/yp/Makefile after the master databases are changed. /var/yp/Makefile does not invoke yppush by default, the NOPUSH=true line must be commented out.
yppush first constructs a list of NIS slave servers by reading the NIS map ypservers within the domain. A destination host (or a list of hosts with multiple -h commands) can also be specified on the command line. A "transfer map" request is sent to the NIS server at each slave, along with the information needed by the transfer agent ypxfr(8) to callback to yppush, which may be printed the result to stderr. Messages are also printed when a transfer is not possible; for instance when the request message is undeliverable.
To specify a port number or use any other yppush options you can edit /var/yp/Makefile directly.
OPTIONS¶
-d domain
-t timeout
--parallel #, -p #
--port port
-h host
-v
SEE ALSO¶
BUGS¶
The mechanism for transferring NIS maps in NIS v1 is different that that in NIS version 2. This version of yppush has support for transferring maps to NIS v2 systems only.
AUTHOR¶
Thorsten Kukuk <kukuk@linux-nis.org>
12/31/2020 | NIS Reference Manual |