[BlueOnyx:09658] Re: migration problems BQ to BO

Gustavo Silva pseudo at zbronx.com
Wed Feb 22 09:43:20 -05 2012



Em 14-02-2012 20:07, Gustavo Silva escreveu:
>
> Em 14-02-2012 16:56, Ken - Precision Web Hosting, Inc escreveu:
>> ----- Original Message -----
>> From: Gustavo Silva
>>
>> Any ideas how can i make sure the password database on the BlueQuartz is
>> recent and synced before export? Because im getting a bunch of sites on this
>> migration phase that have their user passwords reset to the original
>> password when imported on BlueOnyx.
>>
>> I would be fine with it even if i had to check it by hand... But the next
>> phase is ~4600 users... I'm doomed! ;D
>>
>> Cheers and thanks in advance!
>>
>> <<
>>
>>
>> Gustavo
>>
>> If you converted the old box to the flatfile / shadow passwords, that might
>> be the cause.   If I recall that conversion was reversed with a later yum
>> update.  Possibly some passwords are stored in the cce database, and some
>> are in the /etc/shadow file.  Maybe there is a way to compare those values,
>> from the shadow to the cce database.
>>
>> ----
>> Ken Marcus
>> Precision Web Hosting, Inc.
>> http://www.precisionweb.net
>>
>>
>>
>>
>> _______________________________________________
>> Blueonyx mailing list
>> Blueonyx at mail.blueonyx.it
>> http://mail.blueonyx.it/mailman/listinfo/blueonyx
> Yes that is the case, i converted to flat file long time ago.
> Makes sense now!
>
> Going to start looking how to dump the flat-file to the codb again.
> Thanks!!
>
> Gustavo
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx

Ok found a way. :)

Copied the /etc/shadow from the old server.

Created a script that check each line and do a comparison between both 
the new and old shadow.

If the password is different for a user, it just runs usermod -p with 
the password used on the original /etc/shadow.

Every user can now login to the necessary server services now without 
complaining about password changes/mismatch.

They probably wont be able to enter the blueOnyx GUI (they dont do it 
anyway.. only the admins do, and those admin passwords havent changed 
for sure)

Could run cceclient here and change the GUI password maybe?

Resetting the passwords through the GUI will make everything perfect 
again anyway. Thats something the admins will do eventually...

I just didnt want X/4500 users calling because their outlook cant 
connect to the new server...

Cheers!



More information about the Blueonyx mailing list