[ubuntu-uk] copying data from one PC to another PC

Carlos @ FOSSBOX carlos at fossbox.org.uk
Mon May 21 12:11:09 UTC 2012

Thank you very much Alan... I will follow your suggestions... I think
"chown -R" will be the solution... as you can see I am making elementary
questions... I can't imagine what will it be to migrate 100+ users to a
new Server.
> When a user is created, they are assigned (by default) a user id and a
> group id. These are numbers. On Ubuntu they start at 1000 and go up.
> Go into a user's home dir and type ls -n (It will list contents
> showing user and group IDs rather than names.)
> You have two choices as far as I can see:
> * create the users in whatever order you like and simply "chown" the
> data you copy over for them to the new user (this will change the id
> to whatever it is for say user fred).
> * look in /etc/passwd, and optionally /etc/group, and get the id
> numbers for each user and their group. Then create the users on your
> new machine specifying their old group and user ids (obviously
> checking that there are no conflicts with whatever is already present
> on your new system first). See "man adduser" and/or "man useradd" for
> more details on the options.
> Al

/*Carlos Ronceros*
Consultant | Fossbox
carlos at fossbox.org.uk

Tel: 020 7481 8479
Mob: 074 32137731
46 Matilda House
St Katharines Way
E1W 1LG/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20120521/5d1736b5/attachment.html>

More information about the ubuntu-uk mailing list