[ubuntu-uk] backup home folder

alan c aeclist at candt.waitrose.com
Fri Sep 17 13:35:43 BST 2010


On 16/09/10 09:57, Alan Lord (News) wrote:
> One gotcha that you should be aware of when using a fresh operating
> system install is that usernames and groups in linux are actually really
> numbers (UID and GID) and the name is mapped to the UID in /etc/passwd.
>
> If you are the first user (the admin user) on Ubuntu your UID should be
> 1000 - try typing
>
> ls -n
>
> in a terminal window.
>
> When you install a new system the user you create during that install is
> assigned the UID and GID 1000. Clearly, if you back up your
> home/username directory and you are not the first user (perhaps your UID
> is 1002 for example) then you will need to be aware of this and change
> the UID/GID of your home directory's data.

To help me be more clear on this:
Am I correct in understanding that as long as the original
/home/username
is copied or backed up while being signed on as first user, then the 
subsequent paste into the new install will be ok?

-- 
alan cocks
Ubuntu user



More information about the ubuntu-uk mailing list