How to reset Directadmin password

[Total: 3    Average: 5/5]

It’s very simple to retrieve Directadmin password.In a direct admin server, the Admin details are saved in a file ‘/usr/local/directadmin/scripts/setup.txt’. That’s why, we can find-out the login credentials simply from the command line.

Retrieve Directadmin password

Step 1 : Login to server as root user and execute the following command

[root ~ ]#grep adminpass /usr/local/directadmin/scripts/setup.txt

The above command will show the DA admin password.

OR
Open a file “/usr/local/directadmin/scripts/setup.txt” and copy the password.

[root ~ ]#vi /usr/local/directadmin/scripts/setup.txt