> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.serverfreak.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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:

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

**cd /usr/local/directadmin/scripts/**
****

2. Then run the username changing script.

./change_username.sh 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.



3.  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.





