Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!convex!convex.convex.com!thurlow From: thurlow@convex.com (Robert Thurlow) Newsgroups: comp.unix.admin Subject: Re: NIS question Message-ID: Date: 4 Dec 90 23:23:44 GMT References: <1990Dec4.182751.10341@amd.com> Sender: usenet@convex.com Lines: 27 In <1990Dec4.182751.10341@amd.com> khui@brahms.amd.com (Kelvin Hui) writes: >I have two SUN SPARC 1+ workstation, one set up as master and the other as >client in NIS. When I change passwd (using yppasswd or passwd), the >/etc/passwd file on the master machine is updated. The password on the master >machine is changed accordingly but the client machine still uses the old >password. Reboot either machine doesn't change the situation. In fact >I have no way to change the passwd on the client. Is the client actually seeing anything in the master NIS maps, or is it just referencing the local password file? Remember that you have to change your password file before the getpwent() routines will look at the NIS map information. A "+:" in /etc/passwd tells these routines to pull in NIS entries. Another idea: are you sure you don't have another machine set up as a slave? The way to test is to clear the domainname on the master server and kill or suspend the ypserv process, and then try ypwhich on the client to see where it's getting its maps. If you have another machine serving the maps, and if you haven't a mechanism to update those maps, your client may never see the new information. Rob T -- Rob Thurlow, thurlow@convex.com or thurlow%convex.com@uxc.cso.uiuc.edu ---------------------------------------------------------------------- "This opinion was the only one available; I got here kind of late."