Ajitabh Pandey's Soul & Syntax

Exploring systems, souls, and stories – one post at a time

Tag: NIS

  • Syncing NIS Slaves

    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