From owner-freebsd-questions Tue Mar 18 8:20:47 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 500DB37B401 for ; Tue, 18 Mar 2003 08:20:44 -0800 (PST) Received: from btcips73x6.cip.uni-bayreuth.de (btcips73x6.cip.uni-bayreuth.de [132.180.237.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CAA843FB1 for ; Tue, 18 Mar 2003 08:20:43 -0800 (PST) (envelope-from kellner.robert@gmx.net) Received: from localhost ([127.0.0.1] helo=btcips73x6 ident=foobar) by btcips73x6.cip.uni-bayreuth.de with smtp (Exim 3.36 #1 (Debian)) id 18vJpR-0000CB-00 for ; Tue, 18 Mar 2003 17:20:41 +0100 Date: Tue, 18 Mar 2003 17:20:40 +0100 From: Robert Kellner To: freebsd-questions@freebsd.org Subject: noone can change password with yppasswd Message-Id: <20030318172040.3491700f.kellner.robert@gmx.net> Organization: Universitaet Bayreuth, Department of Physics X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Hello, I have a problem with passwords on FreeBSD 5.0: I am using NIS, but neither root, nor the users can change their nis passwords with yppasswd. Root is asked for the old password and when trying to set a new one it fails. If a user tries to change his password, this will not succeed either. here are some loggings: root tries to change a password: Changing NIS password for testuser Old Password: New Password: Retype New Password: yppasswd: pam_chauthtok(): error in service module from /var/log/messages: Mar 18 16:15:30 server yppasswd: in pam_sm_chauthtok(): yppasswd_local(): failed to connect to rpc.yppasswdd: server.mydomain.com: RPC: Program not registered a user tries to change a password: Changing NIS account information for testuser on server.mydomain.com. Changing NIS password for testuser on server.mydomain.com. Please enter new password: Please retype new password: Error while changing the NIS password. The NIS password has not been changed on server.mydomain.com. and from /var/logmessages: Mar 18 16:17:24 btcips73x1 rpc.yppasswdd[2320]: pw_mkdb() failed Does anybody have a clue? Thanks in advance! Robert Here is some additional info: rpcinfo -p localhost: program vers proto port service 100000 4 tcp 111 rpcbind 100000 3 tcp 111 rpcbind 100000 2 tcp 111 rpcbind 100000 4 udp 111 rpcbind 100000 3 udp 111 rpcbind 100000 2 udp 111 rpcbind 100000 4 local 111 rpcbind 100000 3 local 111 rpcbind 100000 2 local 111 rpcbind 100004 1 udp 1021 ypserv 100004 2 udp 1021 ypserv 100004 1 tcp 1023 ypserv 100004 2 tcp 1023 ypserv 100007 2 udp 1020 ypbind 100007 2 tcp 1022 ypbind 100005 1 udp 1016 mountd 100005 3 udp 1016 mountd 100005 1 tcp 1021 mountd 100005 3 tcp 1021 mountd 100024 1 udp 1013 status 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100024 1 tcp 1018 status 100001 1 udp 49161 rstatd 100001 2 udp 49161 rstatd 100001 3 udp 49161 rstatd 100002 1 udp 49162 rusersd 100002 2 udp 49162 rusersd 100008 1 udp 49163 walld 150001 1 udp 49164 pcnfsd 150001 2 udp 49164 pcnfsd 100011 1 udp 49165 rquotad 100012 1 udp 49166 sprayd 100021 0 udp 981 nlockmgr 100021 1 udp 981 nlockmgr 100021 3 udp 981 nlockmgr 100021 4 udp 981 nlockmgr 100021 0 tcp 1013 nlockmgr 100021 1 tcp 1013 nlockmgr 100021 3 tcp 1013 nlockmgr 100021 4 tcp 1013 nlockmgr 100009 1 udp 636 yppasswdd 100009 1 tcp 1010 yppasswdd 600100009 1 udp 636 600100009 1 tcp 1010 uname -a: FreeBSD server.mydomain.com 5.0-RELEASE FreeBSD 5.0-RELEASE #1: Sat Mar 1 16:56:11 GMT 2003 root@server.mydomain.com:/usr/src/sys/i386/compile/MYKERNEL i386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message