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.
> <SNIP>
>> 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)
>> Jason.
>
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.
Murf.....
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!