Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reset directadmin admin password from shell or retrive password.
In this tread I am reseting the directadmin password.

Login to SSH with root user.

#passwd admin

This will ask you new password provide new password.

Now, directadmin password has been reset and I am able to login to directadmin panel with new password.

Now,  follow below steps to retrieve directadmin login password.

Login to server via SSH.

There is a file ‘/usr/local/directadmin/scripts/setup.txt‘ which containing the control panels details.  execute the following command to get adminpass.

# cat /usr/local/directadmin/scripts/setup.txt | grep adminpass

Hope this will help you all !!!

Forum Jump:

Users browsing this thread:
1 Guest(s)