Mayfield Global Knowledge Center



How do I change the name of an existing user account in Linux?

  1. From the desktop, press Alt+F2 to launch the Run Application window.
  2. Type: gnome-terminal then press Enter. This will launch a user terminal (similar to Windows command prompt).
  3. At the terminal prompt, type:su then press Enter. When prompted, type the root (administrator) password then press Enter. You now have a root terminal session.
  4. At the root terminal, type:usermod -l <new username> <old username> then press Enter. The username is now changed.

Would you like to...


del.icio.us

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favoritesAdd to favorites

User Opinions (7 votes)

100% thumbs up 0% thumbs down

How would you rate this answer?

Helpful
Not helpful
Thank you for rating this answer.