Funny, I migrated my server off of RH 7.0 about half a year ago onto a Slack 8 box. It gets pretty involved if you're running a lot of services and want to keep all of the logs, but lets just worry about the users:
tar czf home.tar.gz /home
Unpack that with:
tar xvzf home.tar.gz
with the file sitting in /
The best way to changover the GIDs and UIDs is to copy /etc/shadow/ /etc/group and /etc/passwd, edit out all of the system daemon IDs, basically everything under 500 in RedHat, and then cat the edited file onto the new machine's /etc/shadow /etc/passwd and /etc/group with:
cat passwd.old >> /etc/passwd
Don't forget to tar up and /var/spool/mail in the same way if you're going to want to swap out the mailserver.
Cheers,
Finegan
|