There is most likely a more elegant way than what I am about to propose. To transfer the files, one of the most helpful options on cp (or scp) is --preserve=all which will preserve ownerships, permissions, and dates to your files. You could use that to copy your home directories, without them looking any different.
As far as adding the users, you could just copy and paste the rows with the users and groups into the new /etc/passwd, /etc/shadow, and /etc/group, though I don't know if that is the cleanest way to do it. You'd probably have to make sure that the user and group ids don't overlap anywhere (with the preexisting ids, I mean). Casey On Wed, 2003-09-24 at 15:41, District Webmaster wrote: > current OS: Redhat 7.3 > > Is it possible to move all user accounts from one Linux box to another > (preserving groups and passwords)? If so, can they be moved from one > distro to another (say, Red Hat to Debian)? > > Thanks, > > Dave
signature.asc
Description: This is a digitally signed message part
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
