Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

1 Answer 1

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.