[fedora] moving users/groups

Øyvind Lode o-lode at online.no
Sun Nov 21 22:57:02 UTC 2004


Message: 5
Date: Sun, 21 Nov 2004 21:54:32 +0100
From: Alexander Dalloz <ad+lists at uni-x.org>
Subject: Re: [fedora] moving users/groups (was: fedora-list Digest,
	Vol 9,	Issue 335)
To: For users of Fedora Core releases <fedora-list at redhat.com>
Message-ID: <1101070472.6829.258.camel at serendipity.dogma.lan>
Content-Type: text/plain; charset="iso-8859-15"

Am So, den 21.11.2004 schrieb Øyvind Lode um 20:57:


> So I just thought to transer the user_data.tar and the /etc/passwd,
> /etc/shadow, /etc/group and /etc/gshadow to a temp host via ftp and then
> transer them to the new server and extract the tar file holding the users
> data in /home and then owerwrite the /etc passwd/group files with the ones
I
> have kept from the old server.
> 
> What is it that i'm not getting here?

I didn't say anything against your strategy to tar the home and to
deflate it once the new system is running.

What I warned about is to just put user account entries from passwd,
shadow, group and gshadow files. These files contain more accounts. You
should only take the root and the user accounts (UID/GID >= 500) to keep
their passwords and other settings.

Alexander

--------

Thanks :-)
I think I got you now. hehe

Just copy root and UIDs/GIDs >= 500 from old system over to new system and
leave the other accounts as is.

Thanks again.







More information about the users mailing list