[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Web Console default passwor



You can also set htpasswd users with the variables here:
https://github.com/openshift/openshift-ansible/blob/9193a58d129716601091b2f3ceb7ca3960a694cb/inventory/byo/hosts.origin.example#L91

On Jun 23, 2016 10:44 AM, "Olaf Radicke" <o radicke meteocontrol de> wrote:
Yes, thank you Den. All is fine now. A restart of the master is not deeded.

Olaf

On 06/23/2016 11:19 AM, Den Cowboy wrote:
You have to go inside your folder and create a user:
htpasswd htpasswd admin
prompt for password: ****

User is created (don't really know if you have to restart your master).
To make your user cluster-admin

$ oc login -u system:admin (authenticates with admin.kubeconfig)
$ oadm policiy add-cluster-role-to-user cluster-admin admin (if admin is
your user)


To: users lists openshift redhat com
From: o radicke meteocontrol de
Subject: Web Console default passwor
Date: Thu, 23 Jun 2016 10:06:40 +0200

Hi,

i've a second basic question: I can't find a default password in online
documentation, for the first log in on the Web Console.

I enter this in my playbook:


-------------------- snip ----------------------------
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login':
'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider',
'filename': '/etc/origin/master/htpasswd'}]
-------------------- snap ---------------------------------

But the /etc/origin/master/htpasswd file is empty. I have to do it
yourself the first entry? With...

-------------------- snip ----------------------------
htpasswd /etc/origin/master/htpasswd admin
-------------------- snap ----------------------------

..Is this right?

Thank you,

Olaf Radicke

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]