Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!cernvax!chx400!sicsun!disuns2!shawn From: shawn@litsun8.litsun.epfl.edu (Shawn Koppenhoefer) Newsgroups: comp.unix.admin Subject: Re: NIS question Message-ID: Date: 6 Dec 90 01:07:50 GMT References: <1990Dec4.182751.10341@amd.com> Sender: news@disuns2.epfl.ch Organization: Laboratoire d'informatique technique Lines: 36 In-reply-to: thurlow@convex.com's message of 4 Dec 90 23:23:44 GMT >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 I've just spent the last hour chasing this problem. I should be sleeping at this hour!!! grrrr. >password. Reboot either machine doesn't change the situation. In fact >I have no way to change the passwd on the client. I tried rebooting the client *and* the server (server first). this seemed to sort of solve the problem in that the current values in the server passwd file were now the same on the client. But still, changing the password on either client or server didn't update on the client.... so. what I do *now* is to rlogin into the master and do passwd. Then I goto /var/yp and do a make. This works, but I can't believe this is necessary! Robert> Is the client actually seeing anything in the master NIS maps, or is it Robert> just referencing the local password file? Remember that you have to Robert> change your password file before the getpwent() routines will look at Robert> the NIS map information. A "+:" in /etc/passwd tells these routines to Robert> pull in NIS entries. my client is a diskless but the /etc/passwd *is* on it's mounted partition and there is a `+` in the 2nd line (no quotes). -- ___________________________________________________________________________ | shawn@litsun.epfl.ch -.- KLEIN BOTTLE FOR SALE ... \####### | Shawn Edwin Koppenhoefer \_/ ... enquire within \###### | LIT-EPFL (Ecole Polytechnique Federal De Lausanne)_________________\#####