sean finney on Fri, 31 Jan 2003 11:10:33 -0500 |
heya, i think the biggest factor to how simple this is going to be has to do with what what was running on the old box being taken out of commision. if they're both redhat, i believe* you should be able to copy the related lines over. you'll also probably want the related lines of /etc/group as well, and other than that you shouldn't get too many headaches. just remember to preserve file attributes when you tar/pax/rsync/whatever everything over. some basic stuff i'd keep an eye out for: - overlapping/conflicting uids on the new system - overlapping/conflicting gids on the new system - changed gids for distribution-specified groups or users - the existance of all the shells that the users use - if the old box isn't redhat, differences in passwd/shadow formats hth sean * i'm not a redhat expert. On Fri, Jan 31, 2003 at 10:36:35AM -0500, Jason Wertz wrote: > I'm getting ready to take an old box out of commission and replace it > with a shiny new Dell 2550. To do so requires that I move a bunch of > user accounts onto the newly configured machine (running RH7.2). Moving > the user directories is trivial but my question is...what is the best > way to go about actually recreating the user accounts on the new > machine? > > Is it possible to just copy the old lines out of the /etc/passwd & > /etc/shadow for the users and paste them into the files on the new box > (I'm guessing the answer to that is no) or do I actually need to run > useradd and recreate each account again from scratch? I've never done > this before with so many accounts (usually just an admin account or 2 > that could just as quickly be recreated by useradd). I'm basically > looking to do this in the laziest...I mean most efficient...fashion > possible. What is the best practice in this case? > > Also, in reference to some of the emails about Dell. Their server > products work very well with stock RH installs and I haven't had any > real complaints. They seem to use all commodity hardware and nothing too > bleeding edge, but then again maybe RH is doing all the work to function > on Dell hardware and not the other way around. > > Thanks. > > Jason Wertz > Senior Technology Specialist / WebMaster > Delaware County Community College > ph: 610-325-2771 > fax: 610-325-2820 > http://learn.dccc.edu/~jason > > > > > > _________________________________________________________________________ > Philadelphia Linux Users Group -- http://www.phillylinux.org > Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce > General Discussion -- http://lists.netisland.net/mailman/listinfo/plug > Attachment:
pgpCb4rr3dxSE.pgp
|
|