I have a production server running 6.0.1 that started its life at around e-smith server 4.0 (maybe even 3!). In preparation to upgrade to 7.0, I backed up the production server using backup2ws. I then installed 6.0.1 fresh onto a test server and restored the backup. After rebooting, I noticed that some services would not start (mysql and squid among others). It turns out that by upgrading my server over the years, the built-in userids and groupids have changed. This is now causing restoration/upgrade issues. I have manually edited the group and passwd files of my restored data to make the userids and groupids match the clean install and things seem to be working much better. My questions are:
1) Is there a tool/script that can be used to synchronize the userid and groupid values (and all owned files) to match a standard install for system files?
2) I have users that have user and group ids that, while unique, are in a numerical range that is inconsistent with new installations. Should I update their user and group ids to be in a range consistent with the new installations? If yes, how?
Your assistance and guidance is greatly appreciated.
- Charlie