How to Change DirectAdmin Admin Password?
Sometimes you might need to recover or change your DirectAdmin admin user password, e.g. in case you lost it. It is easy to do that from SSH command line.
Check DirectAdmin installation log. This log will display the password which was set during the installation.
Log in to your server via SSH command line and type the following:
Admin user created
Admin username: admin
Admin password: S1vhutnd54K
Admin email: email@example.com
Then enter your Admin username and password when prompted.
Thank you for using DirectAdmin. Should you have any questions, don’t hesitate to contact us at firstname.lastname@example.org
You can change your current password to a new one in case you have already changed the password after DirectAdmin installation.
It can be done by running “
passwd admin” command:
Changing password for user admin.
Retype new password:
passwd: all authentication tokens updated successfully.
Your admin password has been successfully changed – you can log in to your DirectAdmin panel with your newly created admin password.