Unfortunately it doesn’t appear cPanel allows you to easily change the username. Most documentation I’ve read says to use the “Rearrange an Account” option, but if you only have one disk that doesn’t seem to get you an option. The downside to this is that is doesn’t fully do a normal restore it will restore the new account to the new directory, but it will symlink the old username to the new directory. You will have to have at least double the accounts size and you will need SSH/console access.

First we have to package the account.

/usr/local/cpanel/scripts/pkgacct oldAccountName

Now we have to restore the account with the new username

/scripts/restorepkg --newuser newAccountName /home/cpmove-oldAccountName.tar.gz

This will now have the new username as the main username for the account, but you will now have a symlink in your home directory like so

/home/cpmove-oldAccountName -> /home/newAccountName

It’s not perfect, but it’s the best I could figure out.

Now you can delete the old file

rm /home/cpmove-oldAccountName.tar.gz