Reset DirectAdmin “admin” Password

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&nbsp;/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:
passwd admin

There you will be asked to enter the new password so that you can set the new one for the DirectAdmin.

Thank you !

Leave a Reply

Your email address will not be published. Required fields are marked *