[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH] passwd ENABLE_FEATURE_PASSWD_WEAK_CHECK and weak password but still allowed to change pa
From: Tito <farmatito () tiscali ! it>
Date: 2018-08-10 5:46:53
Message-ID: eed799a2-c53a-1db2-8708-bc17a2c5a3de () tiscali ! it
[Download RAW message or body]
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
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic