Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: nsk@castle.ed.ac.uk (N Skilling) Newsgroups: comp.sys.sun Subject: Re: NIS Server/Slaver Communications help needed. Keywords: Networks Message-ID: <594@brchh104.bnr.ca> Date: 5 Dec 90 02:00:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 17 Approved: Sun-Spots@rice.edu X-Original-Date: 27 Nov 90 13:06:38 GMT X-Refs: Original: v9n374 X-Sun-Spots-Digest: Volume 9, Issue 386, message 2 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu 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