How to Enable Password Reset Emails With DirectAdmin?
DirectAdmin contains a feature to let users reset their passwords, but this feature is disabled by default. When enabled, a user can click the “Lost Password?” link on the login page, and DirectAdmin will mail them a link to click with a confirmation code, which is sent back to the DirectAdmin interface when the link is clicked. Then, DirectAdmin sends them a new random password to the same email address. Note that the code link expires automatically after two hours if not clicked. Learn, How to Enable Password Reset Emails With DirectAdmin ?
Using this feature, one can report to the admin when they did not initiate the request via the “report” link. Upon clicking, all admins will be notified of the IP address from which the false attempt originated.
Enable Automatic Lost Password Recovery using DirectAdmin
1. First, to login into DirectAdmin control panel visit,
https://your-domain.com:2222 or https://IP-address:2222 or https://server-hostname:2222.
2. Navigate to Server Manager → Administrator Settings.
3. Navigate to Security Settings.
4. Now, check the option Enable Automatic Lost Password Recovery → Click on SAVE.
Congratulations! You have successfully enabled automatic lost password recovery using DirectAdmin interface.
Enable Automatic Lost Password Recovery using CLI
1. Login to server as root.
2. To enable automatic password recovery, run the following command,
/usr/local/directadmin/directadmin set lost_password 1 restart
Now that we’ve gone over how to enable password reset email with the DirectAdmin control panel and use the command-line interface. Both methods work the same, but the platform we used is different (GUI & CLI).
KnownHost offers 365 days a year, 24 hours a day, all 7 days of the week best in class technical support. A dedicated team ready to help you with requests should you need our assistance. You’re not using KnownHost for the best webhosting experience? Well, why not? Check with our Sales team to see what can KnownHost do for you in improving your webhosting experience.