Bug 10621

Summary: passwd rejects updating saying "identical password" but its not
Product: Busybox Reporter: Steffen Nurpmeso <steffen>
Component: OtherAssignee: unassigned
Status: RESOLVED INVALID    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.27.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

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.