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

RE: Web Console default passwor



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

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