I have been banging my head on this little project the past few days and here is how it goes...
I need to organize all the UIDs for multiple servers so all users have the same UID
in their /etc/passwd. Obviously I am trying to find a proper script for this so I do not have to do this manually.
If I have 1 correct server with the correct UIDs could someone recommend a manageable script to sync other servers /etc/passwd with the correct one?
I got as far as orgizing it with using
awk -F ':' '{print$1,$3}' /etc/passwd
Then I can use diff or sort to compare the updated passwd file with the old passwd file.