make special characters in email passwords mandatory. difficult password php what's written inside?

sHuKKo

Verified User
Joined
Jun 24, 2003
Messages
77
Location
on the net!
hello

I am trying to figure out how to make new email passwords at least 12 chars and contain BIG + small letters + Numbers + Special characters.

according to this document https://docs.directadmin.com/change...l#more-strict-defaults-for-password-validator

things have changed recently.

I have got in my directadmin.conf :
enforce_difficult_passwords=1
special_characters_in_random_passwords=1
enforce_special_chars=1

BUT not working at the moment ( I restarted directadmin after the changes yes)
special_characters_in_random_passwords=1
enforce_special_chars=1

have no effect at the moment.

to be able to have mandatory minimum of 12 character email passwords both in randomly generated and hand written and also must include BIG + small letters + Numbers + Special characters.

what must I do?

1- enable enforce_difficult_passwords in directadmin.conf
2- difficult_password_length_min=12
3- password_check_script=scripts/custom/difficult_password.php

and WHAT SHOULD BE WRITTEN INSIDE scripts/custom/difficult_password.php ??

does anybody have a working scripts/custom/difficult_password.php who can paste here ( I can't find it anywhere)
 
Back
Top