Subject: misc/30730: force changing password =?iso-8859-1?Q?via?=
To: None <,,>
From: Andreas Wiese <>
List: netbsd-bugs
Date: 07/11/2005 22:05:00
>Number:         30730
>Category:       misc
>Synopsis:       =09
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 11 22:05:00 +0000 2005
>Originator:     Andreas Wiese
>Release:        NetBSD 3.99.7
	BSD-Crew Dresden --
System: NetBSD schroeder.o-zonenloch.home 3.99.7 NetBSD 3.99.7 (SCHROEDER) =
#1: Fri Jun 24 00:19:34 CEST 2005 root@schroeder.o-zonenloch.home:/sys/arch=
/i386/compile/SCHROEDER i386
Architecture: i386
Machine: i386

When setting the =BBChange=AB field in chsh(1), login asks for new passwords
but fails to write it:

schroeder:~# EDITOR=3Dcat chsh test
#Changing user database information for test.
Login: test
Password: $1$lr523.Z8$U17ZgUE8GfL3BiK9D/WhV1
Uid [#]: 1002
Gid [# or name]: 100
Change [month day year]: June 14, 2005
Expire [month day year]:=20
Home directory: /home/test
Shell: /bin/csh
Full Name:=20
Office Phone:=20
Home Phone:=20
chsh: no changes made
chsh: /etc/master.passwd: unchanged

NetBSD/i386 (schroeder.o-zonenloch.home) (ttyE4)

login: test
Password: bla
New Password: blubb123
Retype New Password: blubb123
Unable to update password entry: /etc/master.passwd: entry inconsistent
login: pam_chauthtok: error in service module

I already tried rebuilding /etc/pwd.db and /etc/spwd.db without success.