Re: Default Admin User


Ivan Sim <ivans@...>
 

If this is your first local set-up attempt, I encourage you to do it using
bosh-lite. You can find very comprehensive information in the READMEs
on setting
up bosh-lite <https://github.com/cloudfoundry/bosh-lite#bosh-lite> and
deploying
CF
<https://github.com/cloudfoundry/bosh-lite/blob/master/docs/deploy-cf.md#deploy-cloud-foundry>,
and be up and running quickly.

If you insisted on a manual set-up and assuming that your UAA is up and
running and that there are no obvious errors in the logs, then you can try
setting up uaac
<http://docs.cloudfoundry.org/adminguide/uaa-user-management.html> to see
if your default admin user made it into UAA. And before you can do all
that, you may have to add an admin OAuth client to your config/uaa.yml like
this one here
<https://github.com/cloudfoundry/uaa/blob/091c5e5961dd33c8c7ca5a15f4020e47d266a1c3/uaa/src/test/resources/test/profiles/vcap/uaa.yml#L42>
(as
I'm not sure what your current set-up looks like).

So how about try with bosh-lite first?






On Thu, May 28, 2015 at 9:04 PM, Pravin Mishra <pravinmishra88(a)gmail.com>
wrote:

Hi Ivan,

I have tried, it's not working. I am following this
<https://groups.google.com/a/cloudfoundry.org/forum/#!msg/vcap-dev/IC8U-AdtPLg/Mq02EvPsJBAJ>
for uaa setup and configuration. As per Elisabeth, default user and
password should configuration form config/uaa.yml file. Some how, it's not
working for me.

Best Regards,
Pravin Mishra

On 29 May 2015 at 08:56, Ivan Sim <ivans(a)activestate.com> wrote:

Hi Pravin,

Have you tried

cf auth admin admin

as suggested in the bosh-lite readme
<https://github.com/cloudfoundry/bosh-lite/blob/01db9da7b4122f7d02858d92e0fe938e91256649/docs/deploy-cf.md#try-your-cloud-foundry-deployment>.
If you are intending to create other admin users, you will need to use the
uaac tool as outlined in the uaac doc
<http://docs.cloudfoundry.org/adminguide/uaa-user-management.html#creating-admin-users>
.



On Thu, May 28, 2015 at 7:59 PM, Pravin Mishra <pravinmishra88(a)gmail.com>
wrote:

Hello All,

I am doing local setup of cloud foundry golang clinet, cloud controller
ng, uaa and nats. So far I have configure all and it's communicating to
each other. Now when I am doing target:

cf login -a 127.0.0.1:8181

I need default admin user details to login and create user, org
and spaces for further investigation.

What is the best way to create default admin user?

Best Regards,
Pravin Mishra

_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


--
Ivan Sim


--
Ivan Sim

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.