Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I have made a user in Mint 16 but want to change its first and last name without deleting it and starting from scratch. I know how to do it with a GUI but I want to know the terminal command alternative. I've checked the man pages of usermod but couldn't figure out how in sh.

share|improve this question
up vote 5 down vote accepted
sudo usermod -c "Jecht Tyre" jecht

You can change it with -c option. -c is for adding comment

usermod -c "YOUR NAME" username
share|improve this answer

There are a couple of ways, usermod is a good tool that comes to mind (I have trouble with it at times).

Another is chfn this will generally give you a lot of options to change (phone number, office location, and other stuff). # chfn username should open your favorite editor for you to change things with.

There are some unsafe methods, but I don't recommend them.

share|improve this answer

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.