[SOLVED] Consolidating UID's and GID's on the network
There is inconsistency between UID's and GID's at different machines on my network. Therefore I have plenty of files where user group attributes are represented by numbers. For example:
On my openSUSE machine /etc/passwd contains the following user definition:
-rw-r----- 1 503 702 25074 Jun 8 2005 wavescan.xml
-rw-r----- 1 boris users 1803308 Jan 12 2007 measurement.csv
On my Fedora machine is the same user defined as:
And on the NAS this user is defined as:
What would be the easiest way to consolidate UID's and GID's on all machines?
- manualy editing /etc/passwd and /etc/group files
- using commands such as usermod, groupmod, chown, chgrp
What are potential risks of doing such such operation?
Any other thoughts/guidelines are welcome too.
I would prefer not to make some fatal mistakes here.