Bug#212872: [Adduser-devel] Bug#212872: passwd: adduser should ask for password again if there is a mismatch

Thorsten Gunkel tgunkel-lists at tgunkel.de
Sat Nov 25 05:00:43 CET 2006


On [Sat, 25.11.2006 02:18], Stephen Gran wrote:
> This one time, at band camp, Thorsten Gunkel said:
> > I just tried to add a test user in a fresh sid debootstrap and had a typo in
> > the re-typed password:
> > | Enter new UNIX password: 
> > | Retype new UNIX password: 
> > | Sorry, passwords do not match
> > | passwd: Authentication information cannot be recovered
> > | passwd: password unchanged
> > | Undefined subroutine &main::NOEXPR called at /usr/sbin/adduser line 509, <FIND> line 4.

> I think I've got the problem fixed.  I have applied the patch below in
> svn - can you test to make sure it fixes it for you?

I changed the lines in the current unstable version and I seems to work
without problems:
,----
| Enter new UNIX password: 
| Retype new UNIX password: 
| Sorry, passwords do not match
| passwd: Authentication information cannot be recovered
| passwd: password unchanged
| Try again? [Y/n] y
| Enter new UNIX password: 
| Retype new UNIX password: 
| passwd: password updated successfully
`----

Thanks,
 Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20061125/07ad3b26/attachment.pgp


More information about the Adduser-devel mailing list