KNOWNHOST WIKI

User Tools

Site Tools


control-panels:directadmin:how-to-enable-password-reset-emails

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
control-panels:directadmin:how-to-enable-password-reset-emails [2019/10/11 06:51]
Karson N.
control-panels:directadmin:how-to-enable-password-reset-emails [2020/06/01 14:36] (current)
Karson N.
Line 4: Line 4:
 ===== The Lost Password Email ===== ===== The Lost Password Email =====
  
-DirectAdmin contains a feature to let users reset their passwords, but this feature is disabled by default.  +DirectAdmin contains a feature to let users reset their passwords, but this feature is disabled by default. 
 +<code>
   lost_password=0   lost_password=0
 +</code>
  
 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 DA 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.  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 DA 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. 
Line 25: Line 26:
  
 Log into SSH as the root user and run the following command: Log into SSH as the root user and run the following command:
 +<code>
   /usr/local/directadmin/directadmin set lost_password 1 restart   /usr/local/directadmin/directadmin set lost_password 1 restart
 +</code>
  
 That's all that must be done to enable password resets via CLI! :) That's all that must be done to enable password resets via CLI! :)
control-panels/directadmin/how-to-enable-password-reset-emails.txt · Last modified: 2020/06/01 14:36 by Karson N.