Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2000 16:57:00 -0800 (PST)
From:      jywang@pixart.com.tw
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/22404: Solution of "passwd" and "cannot set password cipher" in 4.1.1
Message-ID:  <20001030005700.AA2A337B4D7@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001030005700.AA2A337B4D7>