From owner-freebsd-questions@FreeBSD.ORG Fri Oct 14 13:03:20 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C242216A41F for ; Fri, 14 Oct 2005 13:03:20 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail21.sea5.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id A321F43D55 for ; Fri, 14 Oct 2005 13:03:17 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 869 invoked from network); 14 Oct 2005 13:03:17 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail21.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Oct 2005 13:03:16 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id B5C0941; Fri, 14 Oct 2005 09:03:15 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Michael Jeung References: <7EF2E28D-9B5C-4D25-A7FE-B13B2CEC086B@cisdata.net> From: Lowell Gilbert Date: 14 Oct 2005 09:03:15 -0400 In-Reply-To: <7EF2E28D-9B5C-4D25-A7FE-B13B2CEC086B@cisdata.net> Message-ID: <44u0fkdze4.fsf@be-well.ilk.org> Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: NIS on FreeBSD 5.4/4.11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 13:03:20 -0000 Michael Jeung writes: > Good evening all, > > I am desperately trying to get NIS working in my FreeBSD 5.4 and 4.11 > environment - specifically, I'm trying to get NIS set up such that a > NIS client is able to change the password for an account. > > Like a good little rabbit, I have followed, step-by-step the NIS > guide in the handbook: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network- > nis.html > > In my test environment, I have two servers set up: BoxA and BoxB. > BoxA is the NIS Master running 5.4, BoxB is the NIS client running > 4.11. I have created a NIS user named "charlie" on BoxA. I am > able to log into BoxB as charlie. Great so far, right? ypcat > demonstrates that the correct user on BoxB is coming down and ypwhich > passwd shows that BoxA is BoxB's daddy. > > Now, I want to be able to change "charlie"'s NIS password while I'm > logged into BoxB. Here's where I run into problems. Whenever I run > yppasswd or passwd as charlie, I get "Permission Denied." I know > I've run into this error before (without ever being able to fix it) > and after googling for quite some time, I've been unable to find > anyone else who seems to be running into this problem -- but I know > other people must have encountered this before, because I'm not doing > anything fancy. This is the most vanilla install of NIS I can create. > > If anyone has any hints on where I should look from here, I would > very much appreciate it! I just set it up yesterday with no problem, working from the same doc. Have you got yppasswdd running?