Re: Moving users from Debian-based distro to CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 8/8/10 10:59 PM, "John R Pierce" <pierce@xxxxxxxxxxxx> 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).
>> 
>> All advice appreciated. Thanks.
>> 
> 
> I'd compare the passwd files, noting the predefined system accounts.
> when I copy over /etc/passwd entries, I generally cut/paste them, not
> just copy the whole file.  of course, the same entries for /etc/shadow
> 

That and be careful of different hash algorithms being used.... (Found out
the hard way when migrating users from an OpenSuSE box to CentOS....)

-- 
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:  (650) 704-6633
Phone: (408) 240-1239

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux