any value in configuring minimum password length?

Rob Landley rob at landley.net
Mon Jul 3 16:58:27 UTC 2006


On Sunday 02 July 2006 3:47 pm, Tito wrote:
> -	/* Add 1 for each type of characters to the minlen of password */
> +	/* Add 2 for each type of characters to the minlen of password */
> 	int size = MINLEN + 8;

Actually, changing the code to match the comment might be better.

And if you're making MINLEN configurable, why aren't you making the increment 
size be configurable?  (Or the number of different types of characters 
required before it increments the required length?)  What's the rationale for 
exposing one but not the other?

You see why I didn't want to go there?

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list