The admin password for the DirectAdmin is stored in a file called setup.txt during the time of installation. You can find the password in this file if you haven’t changed the password. You can use either of the following commands to view the password.
#less /usr/local/<em>directadmin</em>/scripts/setup.txt #cat /usr/local/<em>directadmin</em>/scripts/setup.txt
You can look for a line which says “adminpass=” and see the password there, you can change it by editing the file.
If you want to change the change admin password by ssh or console, write:
There you will be asked to enter the new password so that you can set the new one for the DirectAdmin.
Thank you !