Login after install

I have installed foreman on an ubuntu 12.04 virtual machine on windows
azure hosting. i installed puppet (not master) before running the
foreman-installer and all went along fine without issue. The box was a
clean install before i started this. After a few config changes in
apache/puppet i managed to get to the foreman login page, however it wont
accept the default credentials, i have also disabled ssl from foreman for
not to reduce issues.

ive not touched puppet or foreman before and this is the first install ive
attempted of it, so it could be something simple!?

Thanks

You can try resetting the permissions on the default account. Switch to the
foreman user, and then run

cd /usr/share/foreman
bundle exec rake permissions:reset

That should reset it to the defaults (admin/changeme). If it doesn't,
please provide the output of the rake command.

Greg

··· On 22 May 2013 16:04, Matt Derry wrote:

I have installed foreman on an ubuntu 12.04 virtual machine on windows
azure hosting. i installed puppet (not master) before running the
foreman-installer and all went along fine without issue. The box was a
clean install before i started this. After a few config changes in
apache/puppet i managed to get to the foreman login page, however it wont
accept the default credentials, i have also disabled ssl from foreman for
not to reduce issues.

ive not touched puppet or foreman before and this is the first install ive
attempted of it, so it could be something simple!?

>
>> I have installed foreman on an ubuntu 12.04 virtual machine on windows
>> azure hosting. i installed puppet (not master) before running the
>> foreman-installer and all went along fine without issue. The box was a
>> clean install before i started this. After a few config changes in
>> apache/puppet i managed to get to the foreman login page, however it wont
>> accept the default credentials, i have also disabled ssl from foreman for
>> not to reduce issues.
>>
>> ive not touched puppet or foreman before and this is the first install
>> ive attempted of it, so it could be something simple!?
>>
>
> You can try resetting the permissions on the default account. Switch to
> the foreman user, and then run
>
> cd /usr/share/foreman
> bundle exec rake permissions:reset
>
> That should reset it to the defaults (admin/changeme). If it doesn't,
> please provide the output of the rake command.
>
i think its important to run that as the foreman user, something like

su - foreman -s /bin/bash
bundle exec RAILS_ENV=production rake permissions:reset

Ohad

··· On Thu, May 23, 2013 at 1:57 PM, Greg Sutcliffe wrote: > On 22 May 2013 16:04, Matt Derry wrote:

Greg


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

I did say switch tot the foreman user :slight_smile: - but thanks for catching my
mistake about the RAILS_ENV, I totally forgot that bit.

··· On 23 May 2013 12:12, Ohad Levy wrote:

You can try resetting the permissions on the default account. Switch to

the foreman user, and then run

cd /usr/share/foreman
bundle exec rake permissions:reset

i think its important to run that as the foreman user, something like

su - foreman -s /bin/bash
bundle exec RAILS_ENV=production rake permissions:reset