That's weird, root should be user 0, no?
I think when you want to preserve UIDs across multiple machines the best way to do that is with ldap. Perhaps a little complicated for home use, but it means that your UIDs will be consistent. You shouldn't really be copying as root... I suppose if you're backing up /etc you might need that for some files. What are you using to backup? tar can preserve UIDs etc, but if you're pulling using rsync you can save all files with the running UID, which means it will be consistent on the backup drive at least.

On Tue, 20 Oct 2009, Leslie Satenstein wrote:
I have a backup drive onto which I collect data from Ubuntu, Fedora,  Centos, 
and occasionally other data from a virtual system.
Root in Ubuntu is predefined as #1000, in Fedora it is predefined as #500.
I can force non-root user numbers and groups to commence at 1500, so that 
backing up files from UBUNTU for user xyz will be have the same userid as in  
Fedora , Centos, or SUSE.
How can I convert root id to a common number across the distributions.  Is this 
possible?

Leslie
_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca

Reply via email to