Secure passwords in DirectAdmin

epsilon4

Verified User
Joined
Jul 6, 2019
Messages
18
Hello,

I have been trying to increase the security of user passwords (email, FTP and MySQL).

But I could not achieve it, I already added the following variables to directodmin.conf:

enforce_difficult_passwords = 1
random_password_length = 16

But when I go to the panel, and start typing, from the third letter, the message "Too short" no longer appears. But let me create the account.

In the manual, says I need to add the following code in the javascript.html file:

var length = 8;

However, in the "evolution" skin, this file does not appear.

Any idea?

Thanks in advance.
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,255
Location
GMT +7.00
Hello,

In order to make sure the values have been set correct run the following commands as root:

Code:
/usr/local/directadmin/directadmin set enforce_difficult_passwords 1 restart
/usr/local/directadmin/directadmin set random_password_length 18 restart
/usr/local/directadmin/directadmin set random_password_length_max 20 restart
 
Top