Rajagopal Swaminathan wrote:
> Greetings,
>
> On Tue, Dec 21, 2010 at 10:07 PM, Jerry Geis <ge...@pagestation.com> wrote:
>   
>> hi all,
>>
>>     
>
> hmm..
>
> scp <oldbox>:/etc/passwd <brand new CentOS 6 Box geewiz>:/etc/passwd
> ditto /etc/gshadow,/etc/groups, /etc/gshadow
>
> YMMV
>
> Regards
>
> Rajagopal
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>   
Hi,

Be aware that if you are doing this between different releases 4.x to 
5.x for instance you stand a good chance of breaking your system as the 
systems account set up by the installer may well differ between the two 
releases. It is safer to extract the users that you have added to the 
system from the password and shadow files and to append the resulting 
files to the new system's password and shadow files.

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

Reply via email to