ypsync(8) CLIX ypsync(8)
NAME
ypsync - Synchronizes Network Information Service (NIS) maps
SYNOPSIS
ypsync map_name
DESCRIPTION
The ypsync command forces an NIS database to be copied from the NIS server
to this host if the local copy is out of date. The ypsync command checks
the order number (the map's creation time, in standard UNIX format) of
map_name against the master server's map order number. If the numbers
don't match, ypsync initiates a ypxfr for map_name to transfer the current
version of the map to the local host.
The ypsync service should be used at boot time to insure that any maps
pushed by the master server while the local host was down get updated.
EXAMPLES
To update the local copy of the passwd map, enter:
ypsync passwd.byname
DIAGNOSTICS
Sorry, I can't get an address for master_server
The NIS master node could not be translated into a network address.
The translation is not locally available, and no NIS server
responded to the translation request.
Sorry, the domainname hasn't been set for this machine
The ypinit process, which sets the domainname when NIS is
initialized, probably has not been executed on this system.
Sorry, I can't set up a udp connection to ypbind on master_server
The ypbind process on the NIS master for this system is not
responding. Either the master node is down, or ypserv is not
executing on the master node.
EXIT VALUES
The ypsync command exits with a value of 0 if successful. If
unsuccessful, it exits with a value of 1.
RELATED INFORMATION
Commands: ypxfr(8)
2/94 - Intergraph Corporation 1
ypsync(8) CLIX ypsync(8)
Files: ypfiles(4)
2 Intergraph Corporation - 2/94