[CentOS] Moving users from Debian-based distro to CentOS

Mon Aug 9 18:02:31 UTC 2010
Keith Roberts <keith at karsites.net>

On Mon, 9 Aug 2010, Gary Greene wrote:

> To: CentOS list <centos at centos.org>
> From: Gary Greene <ggreene at minervanetworks.com>
> Subject: Re: [CentOS] Moving users from Debian-based distro to CentOS
> 
> On 8/8/10 10:59 PM, "John R Pierce" <pierce at hogranch.com> wrote:
>>   On 08/08/10 10:47 PM, Dotan Cohen wrote:
>>> I have a Debian machine with four users that I plan on migrating to
>>> CentOS. As per Debian habits the UIDs start with 1000.
>>>
>>> Is it enough to reuse the Debian /etc/shadow and /etc/passwd files
>>> over? Or will I need to configure some other things? I had considered
>>> just creating four new users starting from UID 500 then chown -R -ing
>>> the user's home directories, but I find that invasive and possibly
>>> error prone (maybe there are files that are not owned by them).

what about using the `find` command, and piggy-back 
the chown command on that?

`pinfo find`

"This manual shows how to find files that meet criteria you 
specify, and how to perform various actions on the files 
that you find.  The principal programs that you use to 
perform these tasks are `find', `locate', and `xargs'. 
Some of the examples in this manual use capabilities 
specific to the GNU versions of those programs."

Kind Regards,

Keith