Find the answer to your Linux question:
Results 1 to 3 of 3
Greetings- I have Ubuntu Fiesty Fawn on my windows machine. I can boot into either one. I did this to play with linux a bit and try to learn more ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    8

    Change user's username in Ubuntu

    Greetings-
    I have Ubuntu Fiesty Fawn on my windows machine. I can boot into either one. I did this to play with linux a bit and try to learn more about it. Now, I wish I had used the same username as I have for my windows account.

    I'd like to know if I can change my username in my Ubuntu. I'm the only user and I've installed a lot of apps that really do not want to reinstall them under a different username.

    Thanks for any help.
    cheers!

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute this
    Code:
    usermod -l <newname> -d /home/<newname> -m <oldname>
    groupmod -n <newgroup> <oldgroup>
    Username and Groupname are same in Ubuntu and you have to execute both commands.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Posts
    8
    Thank you very much. I'll give it a try.
    Much appreciated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...