On 09/08/2018 23:47, haroon maqsood wrote:
Hi,

in case the desired behavior is to allow password change in case of this feature is enabled and password is weak, please ignore my misunderstanding.

i think myuid !=0 is an unecessary check as it depends on feature ENABLE_FEATURE_PASSWD_WEAK_CHECK not on myuid,

why is myuid checked here ?, the comment says non-root users are not allowed to have weak passwords , can you explain ?

Hi,
Because the root user is allowed to set a weak password
if he wants to, but normal users are not allowed to set weak passwords
as password policy is mandatory for them.
Ciao,
Tito

it shouldn't matter who the user is as long as the feature is enabled the password shouldn't be week.

Thanks

Haroon



_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to