[ILUG] Question about transferring system
xcraft at eircom.net
Tue Apr 13 23:22:23 IST 2004
On Tue, 13 Apr 2004, Jason Corcoran wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On Tuesday 13 April 2004 22:34, Murf wrote:
> > On Tue, 13 Apr 2004, Michael Treacy wrote:
> > > My server went pear-shaped about 2 weeks ago. I'm currently about to
> > > install Linux on a new system, but I have a question:
> > >
> > > How easy is it to transfer the old user accounts to the new system? Or
> > > can I?
> > You can, and it's quite easy, in my experience.
> Could he not just add the users and groups change the uid and gids in the
> /etc/passwd and /etc/groups to suit the old system and mount the old drives
> /home as /home ??
> Maybe over simplifing what has to be done but worked for me on a small test
> box (YMMV)
Yep, indeed he could. However, copying the lines from the old passwd &
group (ah! and /etc/shadow forgot that first time!) will copy over the users
passwords too, no?
Mounting the old drive as /home would work fine, but he's moving to a new
raid-ed drive which is prob much faster & it's bigger, so would be
preferable performance-wise to copy.
More information about the ILUG