tcurrey@x102a.ess.harris.com (currey tom 76327) (11/27/90)
I have a NIS master and 5 slaves connected to a network. The domainname is the same on each machine. Problem: When I add an account to the Master, It does not push the passwd file across to the other slaves. I have each machine in /etc/hosts, and /etc/ethers. Each machine has a local disk so it can boot on its own. During the make in /var/yp everything seemes to be fine. I get the messages pushed passwd and netid. Any suggestions or help is greatly thanked. Tom Currey tcurrey@elvis.ess.harris.com
nsk@castle.ed.ac.uk (N Skilling) (12/05/90)
In article <438@brchh104.bnr.ca> tcurrey@x102a.ess.harris.com (currey tom 76327) writes: >Problem: When I add an account to the Master, It does not push the passwd >file across to the other slaves. I have each machine in /etc/hosts, and You have not set up yppasswdd ( rpc.ypasswdd ) to check the /etc/passwd file and then do a make on a change. I have the following line in my rc.local file on the NIS master. This forces a make in /var/yp when /etc/passwd is altered automatically. Remember it make take a few minutes to update the slaves depending on system load. -- Lines from rc.local if [ -f /usr/etc/rpc.yppasswdd -a -d /var/yp/`domainname` ] ; then /usr/etc/rpc.yppasswdd /etc/passwd -m passwd fi Neil SKilling