PDA

View Full Version : [ubuntu] changing username?



braveheart2
March 10th, 2009, 07:43 AM
is there a way to change the login name?

Partyboi2
March 10th, 2009, 09:58 AM
To change the login name you could do

sudo usermod -l new oldReplace "new" with the actually new login name you want to use and replace "old" with your current login name.
For example if I was going to change PartyBoi2 login name to Ubuntu it would look like

sudo usermod -l Ubuntu PartyBoi2

jigsaws
March 10th, 2009, 10:16 AM
But remember it onlny changes the name. You can also need to change i.e. home directory name...

lfvhpow
April 15th, 2009, 02:35 PM
You can also need to change i.e. home directory name...


Can you also explain how to do that please..
I have problem and I need to change both username and home folder name too..



Thank you..
-zam-