Bug 10621 - passwd rejects updating saying "identical password" but its not
Summary: passwd rejects updating saying "identical password" but its not
Status: RESOLVED INVALID
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.27.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-27 09:38 UTC by Steffen Nurpmeso
Modified: 2018-01-04 14:20 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Nurpmeso 2017-12-27 09:38:52 UTC
?0[steffen@essex tmp]$ ll /usr/bin/passwd 
lrwxrwxrwx    1 root     root            11 Dec 17 03:01 /usr/bin/passwd -> /bin/bbsuid*
?0[steffen@essex tmp]$ apk info --who-owns /bin/bbsuid
/bin/bbsuid is owned by busybox-suid-1.27.2-r7
?0[steffen@essex tmp]$ passwd
Changing password for steffen
Old password: 
New password: 
Bad password: similar to old password
passwd: password for steffen is unchanged

That is not true, the new one was one graphical symbol longer.
Comment 1 Denys Vlasenko 2018-01-04 14:20:50 UTC
Where does it say "identical password"? I see only "similar to old password".

If you do not want checks for weak passwords, switch off FEATURE_PASSWD_WEAK_CHECK.