
yppush | 523
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Options
-h host
Ask the ypserv process at host about the map parameters. If
host is not specified, the hostname of the NIS server for the
local host (the one returned by ypwhich) is used.
-d domain
Use domain instead of the default domain.
yppush
yppush [options] mapnames
NFS/NIS command. Force propagation of changed NIS map.
yppush copies a new version of an NIS map, mapname, from the
master NIS server to the slave NIS servers. It first constructs a list of
NIS server hosts by reading the NIS map ypservers with the -d
option’s domain argument. Keys within this map are the ASCII
names of the machines on which the NIS servers run. A map
transfer request is sent to the NIS server at each host, along with
the information needed by the transfer agent to call back to
yppush. When the attempt has been completed and the transfer
agent has sent yppush a status message, the results may be printed
to standard error. Normally invoked by /var/yp/Makefile after
commenting out the NOPUSH=true line.
Options
-d domain
Specify a domain.
-h host
Specify one or a group of systems to which a map should be
transferred instead of using the list of servers in the ypservers
map. Multiple -h options can be specified to create a list of
hosts.
-p count
Send maps to count NIS slaves simultaneously (in ...