DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Setting up NIS

Using crontab with ypxfr

Maps have differing rates of change. For instance, some may not change for months at a time, such as protocols.byname among the default maps and auto.master among the non-default, but publickey or passwd.byname may change several times a day in a large organization. When you schedule map transference through the crontab(1) command, you can designate the intervals at which individual maps are to be propagated.

To run ypxfr(1Mnis) periodically at a rate appropriate for your map set, edit root's crontab file on each slave server and put the appropriate ypxfr entries in it (for additional information, see crontab(1)). Note that ypxfr contacts the master server and transfers the map only if the master's copy is more recent than the local copy.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004