[freeside] usernames + password

ivan ivan at 420.am
Tue May 30 01:19:37 PDT 2000


Use the usernamemin and passwordmin configuration files to set these
values, as documented in htdocs/docs/config.html

On Mon, May 29, 2000 at 01:01:33PM +1200, Colin Chan wrote:
> Hi,
> 
> We have users with login names that are less than 4 characters, it seems
> as though freeside is limited to at least 4 characters for logins and 6
> characters for passwords.
> I've looked at the svc_acct.pm file and attempted to change the two
> lines that seems to be the values for the usernamemin and passwordmin -
> 
> #ask FS::UID to run this stuff for us later
> $FS::UID::callback{'FS::svc_acct'} = sub {
>   $conf = new FS::Conf;
>   $dir_prefix = $conf->config('home');
>   @shells = $conf->config('shells');
>   $shellmachine = $conf->config('shellmachine');
>   $usernamemin = $conf->config('usernamemin') || 2;
>   $usernamemax = $conf->config('usernamemax');
>   $passwordmin = $conf->config('passwordmin') || 6;
> };
> 
> I change the values to 0 and 2 respectively, and restarted mysql and
> reloaded the cgi file on the web browser. It seems as though the check
> for both username and password are still using the old values.
> 
> I maybe wrong about these values as I don't know much about perl
> programming. I would greatly appreiciate it if someone could provide me
> with some answers :)
> 
> Cheers.
> 

-- 
meow
_ivan



More information about the freeside-users mailing list