From owner-freebsd-bugs Sun Oct 29 17: 0:10 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1E6AE37B4F9 for ; Sun, 29 Oct 2000 17:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA75212; Sun, 29 Oct 2000 17:00:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id AA2A337B4D7; Sun, 29 Oct 2000 16:57:00 -0800 (PST) Message-Id: <20001030005700.AA2A337B4D7@hub.freebsd.org> Date: Sun, 29 Oct 2000 16:57:00 -0800 (PST) From: jywang@pixart.com.tw To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/22404: Solution of "passwd" and "cannot set password cipher" in 4.1.1 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22404 >Category: bin >Synopsis: Solution of "passwd" and "cannot set password cipher" in 4.1.1 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 29 17:00:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: J.Y.Wang. >Release: 4.1.1-STABLE >Organization: PixArt Imaging Inc. >Environment: $ uname -a FreeBSD proxy.pixart.com.tw 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Sat Oct 28 03:02:26 CST 2000 root@proxy.pixart.com.tw:/ usr/obj/usr/src/sys/JYWANG i386 >Description: Bugs when you just update your FreeBSD 4.1-STABLE box to FreeBSD 4.1.1-STABLE. You cannot change your passwd and got a "cannot set password cipher" message. >How-To-Repeat: # passwd foo Changing local password for foo. New password: Retype new password: passwd: cannot set password cipher: Undefined error: 0 passwd: /etc/master.passwd: unchanged >Fix: You must treat 4.1.1-STABLE a brand-new version from 4.1-STABLE. That is, just like /usr/src/UPDATING says, you must do a make buildworld make buildkernel KERNEL=YOUR_KERNEL_HERE make installkernel KERNEL=YOUR_KERNEL_HERE reboot (in single user) [1] make installworld mergemaster reboot Then youˇ¦ll solve this problem on your own self. I wrote three scripts for "at" use foo.stg1: cd /usr/src make buildworld make buildkernel KERNEL=GENERIC make installworld KERNEL=GENERIC reboot foo.stg2: cd /usr/src make buildkernel KERNEL=JYWANG make installkernel KERNEL=JYWANG mv /kernel.old /kernel.GENERIC reboot foo.stg3: cd /usr/src make installworld mergemaster reboot After three "at" all the night, all "passwd" problems were gone! >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message