Sometimes when an NIS slave is out of action for quite sometime, it may go out of sync with the master. Following code will sync up the NIS slave with the master.
ypwhich -m|awk '{print $1}'|while read line do /usr/lib/netsvc/yp/ypxfr $line done
Sometimes when an NIS slave is out of action for quite sometime, it may go out of sync with the master. Following code will sync up the NIS slave with the master.
ypwhich -m|awk '{print $1}'|while read line do /usr/lib/netsvc/yp/ypxfr $line done