Articles on: Direct Admin

How to Modify a Direct Admin Username in Direct Admin

If you have a client that request for a change in Direct Admin username, you can perform the change by yourself provided you are the administrator of your own server. Below are the simple steps for you to follow:

First SSH into the server and go to the directory as below:

cd /usr/local/directadmin/scripts/

Then run the username changing script.

./ olduser newuser

*replacing olduser with the current username that you wish to change and replacing newuser with the new username that you wish to replace it.

After modifying the username, the mysql database prefix name will also be updated to the same as the new username. It is important to note that the user will have to update their web applications’ database configuration to the new database name.

Updated on: 09/11/2018

Was this article helpful?

Share your feedback


Thank you!