How to reset and retrieve directadmin admin password using shell?
Steps to reset the direct admin password -
1. Login to SSH with root user -
#passwd admin2. This will ask you new password provide new password.
3. Now, directadmin password has been reset and I am able to login to directadmin panel with new password.
Steps to retrieve directadmin password -1. Login to server via SSH.
2, There is a file ‘/usr/local/directadmin/scripts/setup.txt‘ which containing the control panels details.
2. Execute the following command to get adminpass -# cat /usr/local/directadmin/scripts/setup.txt | grep adminpass
Was this answer helpful?
Steps to update Apache to latest version -1. Please check the current version of Apache using...
You may come across the error "MySql Database has gone away". I came across this error while...
Here are very simple steps to update the DIRECT ADMIN skin to the Evolution Theme - 1. cd...
If you would like to force Apache to allow CGI script then just follow below simple steps - 1....
If you are running php 5.4 on the server and want it to be upgraded to 5.6 . Additionally, your...
Powered by WHMCompleteSolution