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

I clone my No.1 OS in VMware, the username and computer name are node1, now i clone it and want to make the cloned one's username and computer name became node2. how can i do ?

share|improve this question

you can change hostname by editing /etc/hostname and user by usermod -l new_name you should also change homedir, so it would be easier to create new user? moving homedir can be done also with usermod, if necessary :)

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.