NIS question

Robert Thurlow thurlow at convex.com
Wed Dec 5 10:23:44 AEST 1990


In <1990Dec4.182751.10341 at amd.com> khui at 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 at convex.com or thurlow%convex.com at uxc.cso.uiuc.edu
----------------------------------------------------------------------
"This opinion was the only one available; I got here kind of late."



More information about the Comp.unix.admin mailing list