To change a username in Ubuntu is simple. For example, say I wanted to change the username:
“jhon” to the correct spelling “john” i would simply run the following command:
usermod -l jhon john
That’s it.. the username would be changed from jhon to john.