You can reset the password from your DirectAdmin panel. Please follow the steps given below.
1) Log in to your DirectAdmin panel.
2) Click on the icon ‘Password’ from the list.
3) Enter the current password and new password in the prompted space and click on the ‘Submit’ button.
Recover DirectAdmin Current Password
You can recover the DirectAdmin password by checking the DirectAdmin installation log. The installation log will display the password which was set during the installation time. For this, please follow the below given steps.
1) Log in to the server via ssh.
$ ssh root@ServerIP
Enter the password when prompted.
2) Run the following command.
$ cat /var/log/directadmin/install.log | grep Admin
Sample Output:
Admin user created
Admin username: admin
Admin password: S1vhutnd54K
Admin email: [email protected]
Then enter your Admin username and password when prompted.
Thank you for using DirectAdmin. Should you have any questions, don’t hesitate to contact us at [email protected]
You will get the DirectAdmin password from the above given output.
Change DirectAdmin Password From Command Line.
You can change the current DirectAdmin password to new one from command line. It can be done by executing the following command.
$ passwd admin
changing password for user admin.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
Your DirectAdmin password has been successfully changed and you can log in to your DirectAdmin panel with your newly created admin password.
If you need any further assistance please contact our support department.