[freeside] Password lengths
ivan
ivan at 420.am
Sat May 19 00:07:42 PDT 2001
On Fri, May 18, 2001 at 05:09:32PM -0700, rdailey at colusanet.com wrote:
>
> >Passwords are limited to 8 characters.
>
> You can fix this by editing svc_acct.pm where the line reads:
This breaks the export of any passwords which are stored encrypted in the
database with standard DES crypt(), for example, passwords imported from a
shadow file.
>
> 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
>
--
meow
_ivan
More information about the freeside-users
mailing list