John BORIS on 7 May 2013 13:03:49 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Moving user accounts |
Eric, I just did this for one of my SCo boxes. I know this a different OS but here is what I did. I had to move a live server to a VM because of dieing hardware. I did the following: On the new server I created the new accounts for the users. In SCO I can set the starting UID. But on those that I needed I just changed their UID in the passwd file. I then tarred up their home directories and plopped them on the new system. tar preserved the UID from the old system so it went fine. The only thing the users had to do was redo their passwords. I didn't mind that as I had to visit each user. I had about 20 users like you. That took me less time then searching for a utility, learning it and then trying it. John J. Boris, Sr. "Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train!" >>> "Eric H. Johnson" <ejohnson@camalytics.com> 5/7/2013 3:03 PM >>> Hi all, I set up an Ubuntu computer for a senior center some years back and that computer is now long overdue for an upgrade. The existing computer is running Ubuntu 10.04 and has something the high side of 20 user accounts, although about half are probably dormant. I would like to move those accounts and associated data to a new computer running Ubuntu 13.04. The users as a rule do not store very much on the computer since they use it primarily for browsing the web and email. What is the easiest way to migrate these accounts to the new computer. Is there a wizard? The only thing I found seemed like it was no longer being maintained. As a rule, I do not know the passwords for the individual accounts. Can I just copy the home folder, etc/passwd, etc/shadow, etc. or will I run into problems if I do not regenerate the uids and gids. Thanks, Eric ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug