From owner-freebsd-questions Tue Aug 8 15:34:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gw.nexprise.com (gw.nexprise.com [206.79.13.50]) by hub.freebsd.org (Postfix) with ESMTP id C9FA737B7DE for ; Tue, 8 Aug 2000 15:34:18 -0700 (PDT) (envelope-from dthiel@nexprise.com) Received: from lgm-118a.internal.nexprise.com (mx.nexprise.com [192.168.25.222]) by gw.nexprise.com (8.9.3/8.9.3) with ESMTP id PAA21987 for ; Tue, 8 Aug 2000 15:37:20 -0700 (PDT) Received: from nexprise.com (ws141.internal.nexprise.com [192.168.25.141]) by lgm-118a.internal.nexprise.com (8.9.3/8.9.3) with ESMTP id PAA20553 for ; Tue, 8 Aug 2000 15:43:40 -0700 (PDT) (envelope-from dthiel@nexprise.com) Message-ID: <39908AA1.4DB33D7@nexprise.com> Date: Tue, 08 Aug 2000 15:33:05 -0700 From: David Thiel Organization: Nexprise Inc. X-Mailer: Mozilla 4.74 [en] (X11; U; FreeBSD 4.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: more fun NIS problems References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG That was the key - I had that entry at the beginning. It looks like that solved my problem. Now, in the documentation, it says to copy master.passwd to /var/yp. Should I take out the system accounts from that file, so root isn't ever authenticated over NIS? If I do take those out, how to I rebuild the yp stuff after editing? Just do a make in /var/yp? thanks for your help, -david Paul Herman wrote: > > Hi David, > > On Tue, 8 Aug 2000, David Thiel wrote: > > > I tried ypserv -d, and no suspicious output was there - all the yp* > > commands appear normal, the only thing I could possibly think of is when > > I did a ypcat passwd, the root account was in the middle of the password > > file instead of its usual position at the top. Would that make any > > difference? > > In theory no, but position in the local /etc/passwd is important. > The fact that everything looks OK yp-wise probably means that you have > a local problem. > > In most NIS situations you have all local accounts first (like root, > toor, etc.) and then the "+:::::::::" very last. Other orderings may > produce results you may (or may not) want. > > man 5 passwd goes at length to explain how ordering is important. > > -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message