Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I accidentally misnamed my user account during the initial installation, for example if I type "devdmin" instead of "devadmin", is there a way to change that account username?

The reason I ask is because I created an ubuntu server VM on VirtualBox, and when I mounted a shared folder, it says it belongs to my misnamed initial user account, e.g. "devdmin". Now I have to use sudo to edit any of the files within the shared folder, using my second account that I correctly named. I tried using chown -R devadmin sharedfolder and chgrp -R devadmin sharedfolder but it does not do anything. When I run ls -lah, it shows devdmin as the owner and group of those files.

share|improve this question

You can rename your userid with the usermod commnand. More here.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .