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

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 Ubuntu 10.10 that works perfect for me and my family. Now I would like to install a fresh 12.10 release. I have a separated /home partition.

After installing a new version, I need to configure users on the system. How to add new users that will use the existing /home partition?

If I have user "user1" and there is /home/users1 folder, would adding a new user "user1" delete the existing /home/user1 folder and create a new one or it will use the existing /home/user1 folder?

share|improve this question

Adding a new user will not overwrite the existing /home/username. You will however, want to look at your current /etc/passwd file and make sure that the UID's for each user on the newly installed system match the existing one. For example, User 1's UID = 1000; User 2's UID = 1001; etc.

The way to check this is to open a terminal and run cat /etc/passwd

The following is an example of an /etc/passwd file:

nuucp:*:6:5:uucp login user:/var/spool/uucppublic:/usr/sbin/uucp/uucico
jdoe:*:1001:1001:John Doe:/home/jdoe:/usr/bin/bash  

So when you make new users be sure that Paul is user 1000 and John Doe is user 1001; etc. That way the files that belonged to these users will still belong to them. Linux identifies the file/directory ownership by UID's and GID's. So you'll want them to match.

share|improve this answer
The user created during installation will be 1000 and will be an administrator, so presumably you want that to be you. User id's are created with the next available number, so once you have the list of current user ids, create whoever has 1001 next, and so on. You may also want to consider backing up current user docs, photos, etc and using newly created home folders. 10.10 to 12.10 is a big jump and you might run into problems with the hidden configuration files not being right. – chaskes Jun 14 '13 at 22:37

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.