[katello-devel] Default admin password

Lukas Zapletal lzap at redhat.com
Thu Jul 7 09:17:34 UTC 2011


On 07/05/2011 11:02 AM, Marcus Moeller wrote:
> I have upgraded my git setup and now I can no longer log-in using the
> default password.
>
> Is there a way to reset the pw within the db?

Hello,

sorry for late reply (PTO). You need to do

# rake setup

to regenerate password using new secure storage format.

But you can always do this:

# rake console

User.where(:username => 'admin').first.update_attributes(:password => 'xyz')

That would hash it with salt and you will be able to login again.

-- 
Later,

  Lukas Zapletal | E32E400A
  RHN Satellite Engineering
  Red Hat Czech s.r.o. Brno




More information about the katello-devel mailing list