[LEDE-DEV] [PATCH] utils/busybox: prevent weak root passwords

2017-02-17 Thread danrl
This patches the busybox passwd source so that even root is not allowed to set a weak (too short) password. This enables us to define a minimum password length that is consistent over graphical interfaces (e.g. LuCI) and CLI. Signed-off-by: Dan Luedtke ---

[LEDE-DEV] [PATCH] utils/busybox: prevent weak root passwords

2017-02-17 Thread danrl
Hi devs, We are trying to make passwords on LEDE a tiny bit more secure by refusing weak or short (read: less than 6 characters) passwords. Please see related discussion over here, where the inconsistencies were discovered: https://github.com/openwrt/luci/pull/878 Here is what the patch