Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

My first name is Lluis but always Ubuntu changes my name as Llus when my computer starts as Ubuntu. I don't understand why this 'i' is missed.

share|improve this question
Maybe you typed your username wrong during the account creation at your system? – Rrjrjtlokrthjji Jun 19 '13 at 16:18
possible duplicate of How do I change my username? – Eric Carvalho May 12 '15 at 12:31

If you just want to change the name that appears at startup, go to System Settings -> User Accounts.

Click the "Unlock" button at the top right of that box. Then click the name to the right, and retype it.

This won't affect your shell/system username at all, only your display name; if you were looking to change the system username too you will need to do something more along the lines of the other answer... though personally I would say it'd be safer to just make a new account and start over in that case; there could be (non-system) files elsewhere that reference your old username in some fashion or other, and these won't necessarily be updated with your new username if you do change it.

share|improve this answer


# Become root
sudo -i

Next, as root, run:

usermod -d /home/new -m old

sed -i -e 's_old_new_g' /etc/passwd

sed -i -e 's_old_new_g' /etc/group

sed -i -e 's_old_new_g' /etc/shadow

Where "old" is your old user name ( Llus ) and "new" is the name you want ( Lluis ).

Log out and back in and you should be good to go.

Note: You might want to use all lower case letters for your user name (lluis) , up to you, see discussion in comments for details.

share|improve this answer
Should point out the name should be lower case here – GM-Script-Writer-62850 Jun 19 '13 at 16:24
@GM-Script-Writer-62850 Why ? Upper case user names will work. – bodhi.zazen Jun 19 '13 at 16:26
I think it's for similar legacy reasons to the rule of "username not longer than 8 characters". I don't think it's necessarily a requirement now, but could perhaps cause some compatibility issues with some things. – Jez W Jun 19 '13 at 16:41
In fact, if you try and manually create a new user account containing a capital letter, you get an error message and have to use a "--force-badname" option. (doesn't happen if it's simply long). So yes, all lowercase is safer. – Jez W Jun 19 '13 at 16:48
That all seems like a really long risky way to do sudo usermod -d /home/newuser -m -l newuser olduser and sudo groupmod -n oldgroup newgroup – Steven Kath Jun 19 '13 at 17:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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