conflicting result while failing to change password as root

Bug #300246 reported by Andreas Olsson
2
Affects Status Importance Assigned to Milestone
shadow (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: passwd

This is an issue using the passwd command in Ubuntu 8.10

It covers the case where you, as the root user, tries to change a password, but you fail to retype it correctly.

Passwd behaves correctly in it not actually changing the password. Stil, it kind of says it does.

root@hawat:~# passwd
Enter new UNIX password:
Retype new UNIX password:
Sorry, passwords do not match
passwd: password updated successfully
root@hawat:~# passwd andreas
Enter new UNIX password:
Retype new UNIX password:
Sorry, passwords do not match
passwd: password updated successfully

This is not a problem if you run passwd a normal user.

(Still failing to retype the new password)

andreas@hawat:~$ passwd
Changing password for andreas.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
Sorry, passwords do not match
passwd: Authentication information cannot be recovered
passwd: password unchanged

Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks for your report. This is the same as bug 303515; yours was reported first, actually, but I'll mark this one as the duplicate since I've already set the proper status on the other one.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.