From owner-freebsd-questions Wed Mar 19 9:37: 0 2003 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 D8ACA37B404 for ; Wed, 19 Mar 2003 09:36:58 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E101543FB1 for ; Wed, 19 Mar 2003 09:36:56 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.7/8.12.7) id h2JHaunr052249; Wed, 19 Mar 2003 11:36:56 -0600 (CST) (envelope-from dan) Date: Wed, 19 Mar 2003 11:36:56 -0600 From: Dan Nelson To: Robert Kellner Cc: freebsd-mailinglist Subject: Re: noone can change password with yppasswd Message-ID: <20030319173656.GH91803@dan.emsphone.com> References: <20030318172040.3491700f.kellner.robert@gmx.net> <20030318164358.GB2054@dan.emsphone.com> <20030319162257.319d7ff5.kellner.robert@gmx.net> <20030319153947.GF91803@dan.emsphone.com> <20030319175851.323cb9d6.kellner.robert@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030319175851.323cb9d6.kellner.robert@gmx.net> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Mar 19), Robert Kellner said: > I am not using /etc/master.passwd as NIS passwd, I have a sepearte > master.passwd in /var/yp I commented out the daemon(0,0) call and I > got the following (as root): > > from yppasswd:bash-2.05b# yppasswd testuser > Changing NIS password for testuser > Old Password: > New Password: > Retype New Password: > yppasswd: pam_chauthtok(): error in service module > > /var/log/messages:Mar 19 16:58:03 btcips73x1 yppasswd: in pam_sm_chauthtok(): yppasswd_local(): failed to connect to rpc.yppasswdd: btcips73x1.cip.uni-bayreuth.de: RPC: Program not registered My patch doesn't address your first problem (the failure to change passwords on the local machine), only the second (pwd_mkdb() failing because it shouldn't even be run). Try it from another machine and see what happens. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message