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 !
- Load Average on Linux and Unix-like Systems Explained - May 16, 2020
- How to Install Webmin on CentOS/RHEL 7/6/5 – Linux - May 16, 2020
- List addon domains, parked domains and sub domains via command line – cPanel - May 13, 2020