Skip to content

Instantly share code, notes, and snippets.

@gangsta
Last active May 16, 2017 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gangsta/9d29dc0c7aecf6156b539ab3af847260 to your computer and use it in GitHub Desktop.
Save gangsta/9d29dc0c7aecf6156b539ab3af847260 to your computer and use it in GitHub Desktop.

Red Hat Enterprise Linux OpenStack Platform Installer you can run this command as root to reset the password:

$ sudo foreman-rake permissions:reset Reset to user: admin, password: XXXXXXXXXX

Admin password is stored in Postgres table users inside foreman database:

id | login             | admin | password_hash | password_salt
---+-------------------+-------+---------------+---------------
1 | foreman_admin     |     t |               |
2 | foreman_api_admin |     t |               |
3 | admin             |     t |            XX |           XX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment