The admin password of Direct Admin control panel is displayed at the end of the Direct Admin installation.
One has to carefully store the credentials in a secure place. If the password is lost, the Direct Admin stores the credentials in setup.txt file after Direct Admin installation.
To recover the password, SSH to the Server.
Recover a Lost Direct Admin password
Type below command to get the Admin Password
# cat /usr/local/directadmin/scripts/setup.txt | grep admin
[email protected]
mysqluser=da_admin
adminname=admin
adminpass=Oq^4TCB8GamXj
litespeedadmin=fNah43lIwsGOosvd
Or
Type below command to get the Admin Password
# cat /var/log/directadmin/install.log | grep Admin
Admin user created
Admin username: admin
Admin password: Oq^4TCB8GamXj
Admin email: [email protected]
A further Admin password can be reset from SSH as below
# password admin
Video Tutorials for recover forget DirectAdmin Password 👇 👇
Now the server will prompt for new password and confirmation password.
This is how the Admin Password of Direct Admin control panel can be reset and recovered.