This question already has an answer here:


How can I change the username (zadsfad)? If I change the host name, the 'ubuntu' section is changed.

Should I reinstall Ubuntu?

marked as duplicate by wjandrea, Ravexina, karel, Eric Carvalho, Pilot6 Aug 10 '17 at 11:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


first, make sure you have root login access, from a root shell prompt, type

usermod -l **new_username** -m -d /home/**new_username** **current_username**

then exit and re-login, and you'll be fine.

  • I solved it. This is answer. – Arthur Aug 15 '17 at 6:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.