any value in configuring minimum password length?
Tito
farmatito at tiscali.it
Sun Jul 2 19:47:18 UTC 2006
On Sunday 2 July 2006 20:29, Robert P. J. Day wrote:
> On Sun, 2 Jul 2006, Bernhard Fischer wrote:
>
> > On Sun, Jul 02, 2006 at 12:06:06PM -0400, Robert P. J. Day wrote:
> > >On Sun, 2 Jul 2006, Bernhard Fischer wrote:
> > >
> > >> On Sun, Jul 02, 2006 at 11:41:51AM -0400, Robert P. J. Day wrote:
> > >> >
> > >> >libbb/obscure.c
> > >> >---------------
> > >> >
> > >> >#define MINLEN 6
> > >> >
> > >> > any value in taking the extra step and allowing this to be changed
> > >> >during configuration?
> > >>
> > >> put it in libbb/Config.in if you feel like
> > >>
> > >> config CONFIG_PASSWORD_MINLEN
> > >> int "description"
> > >> default 6
> > >> range 5 255 /* or the like */
> > >> help
> > >> help text here
> > >
> > >i'm assuming something like the following would be sufficient, yes?
> >
> > Yes (didn't look closely if 32 is proper, though).
>
> it's just a number i pulled out of thin air. if someone has an idea
> of a proper range for password length, let me know. otherwise, i'll
> just commit the change with a possible range of 5-32 and it can always
> be tweaked later.
>
> rday
Hi,
While at it fix also this comment:
- /* 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;
Ciao,
Tito
More information about the busybox
mailing list