From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 14:54:46 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 302FB16A41B for ; Mon, 15 Oct 2007 14:54:46 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id 05A5613C459 for ; Mon, 15 Oct 2007 14:54:45 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 68E0328431; Mon, 15 Oct 2007 10:54:45 -0400 (EDT) To: freebsd-questions@freebsd.org References: <20071015054707.GA34948@parts-unknown.org> From: Lowell Gilbert Date: Mon, 15 Oct 2007 10:54:45 -0400 In-Reply-To: <20071015054707.GA34948@parts-unknown.org> (David Benfell's message of "Sun\, 14 Oct 2007 22\:47\:07 -0700") Message-ID: <44hcksl96y.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Following directions doesn't seem to work: Adding users in NIS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2007 14:54:46 -0000 David Benfell writes: > Where are there working directions for adding users under NIS? > > The instructions in the FreeBSD handbook don't seem to result in > added users being propagated out to slaves. And the failure is > silent, so I have no idea what I'm really supposed to be doing > to make this work. > > All I know is that added users end up in the main /etc/passwd > and /etc/master.passwd; the -Y option to pw seems to change nothing > other than to consume time "updating" (but I don't know what, since > the changes I'm looking for don't appear) various maps and "pushing" > the maps. > > And, having evidently done the *wrong* thing, how do I fix the > added users so they now appear in NIS? adduser(8) doesn't know anything about NIS. I don't know any automated way of adding users to a NIS map, but my home network is small enough that I don't bother. What you want to do is move the users' entries from master.passwd into your NIS master file, and rebuild the maps.