Setup foreman development environment login failed

All,
I've started down my path of creating a monitoring plugin for foreman
that'll automatically use information in foreman to monitor our Datacenter
infrastructure. But I have a small problem during the setup stages.

I'm following this guide to setup my development environment and the login
at the end doesn't work for me. (admin/changeme).

In googling around or when I setup Foreman in production I'm given a
randomly generated password but this process is different. Any ideas?
Thanks.

When you run "rake db:seed" for the first time it will print out the
random password. You can reset it with "rake permissions:reset" as long
as you've run db:seed.

··· On 20/11/15 08:47, Edson Manners wrote: > All, > I've started down my path of creating a monitoring plugin for foreman > that'll automatically use information in foreman to monitor our > Datacenter infrastructure. But I have a small problem during the setup > stages. > > I'm following this guide to setup my development environment and the > login at the end doesn't work for me. (admin/changeme). > > In googling around or when I setup Foreman in production I'm given a > randomly generated password but this process is different. Any ideas? > Thanks.


Dominic Cleal
dominic@cleal.org

> In googling around or when I setup Foreman in production I'm given a
> randomly generated password but this process is different. Any ideas?

You can run rake permissions:reset username=admin password=changeme

··· -- Daniel Lobato Garcia

@dLobatog
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato

Thanks. I'll keep an eye out for that next time.

··· On Friday, November 20, 2015 at 3:59:15 AM UTC-5, Dominic Cleal wrote: > > On 20/11/15 08:47, Edson Manners wrote: > > All, > > I've started down my path of creating a monitoring plugin for foreman > > that'll automatically use information in foreman to monitor our > > Datacenter infrastructure. But I have a small problem during the setup > > stages. > > > > I'm following this guide to setup my development environment and the > > login at the end doesn't work for me. (admin/changeme). > > > > In googling around or when I setup Foreman in production I'm given a > > randomly generated password but this process is different. Any ideas? > > Thanks. > > When you run "rake db:seed" for the first time it will print out the > random password. You can reset it with "rake permissions:reset" as long > as you've run db:seed. > > -- > Dominic Cleal > dom...@cleal.org >

This worked. Thank you very much.

··· On Friday, November 20, 2015 at 5:02:44 AM UTC-5, Daniel Lobato wrote: > > > In googling around or when I setup Foreman in production I'm given a > > randomly generated password but this process is different. Any ideas? > > You can run rake permissions:reset username=admin password=changeme > > -- > Daniel Lobato Garcia > > @dLobatog > blog.daniellobato.me > daniellobato.me > > GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 > Keybase: https://keybase.io/elobato >