[freeside] Password lengths

rdailey at colusanet.com rdailey at colusanet.com
Fri May 18 17:08:24 PDT 2001


>Passwords are limited to 8 characters.

You can fix this by editing svc_acct.pm where the line reads:

   if ( $recref->{_password} =~ /^((\*SUSPENDED\* 
)?)([^\t\n]{$passwordmin,8})$/ ) {

change it to

   if ( $recref->{_password} =~ /^((\*SUSPENDED\* 
)?)([^\t\n]{$passwordmin,20})$/ ) {

or something like that.

Then, edit the .cgi files where the password text box maximum length is 8, 
change to 20 (or whatever)

Then, if you use svc_acct.export, edit it at:

   if ( ( length($password) <= 8 )

again, to:

   if ( ( length($password) <= 20 )

Got it?  I think that's it.  It's been awhile since I did it, and I forgot 
notes.

Rick Dailey
ColusaNET
<mailto:%2F%2Frdailey at colusanet.com>rdailey at colusanet.com




More information about the freeside-users mailing list