This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.Appendix A. Cluster Administrator Setup
Authentication
Set up the authentication using AllowAll Authentication method.
AllowAll Authentication
Set up an authentication model which allows all passwords. Edit
/etc/origin/master/master-config.yaml on the OpenShift master and change the value of DenyAllPasswordIdentityProvider to AllowAllPasswordIdentityProvider. Then restart the OpenShift master.
- Now that the authentication model has been setup, login as a user, for example admin/admin:
oc login openshift master e.g. https://1.1.1.1:8443 --username=admin --password=admin
# oc login openshift master e.g. https://1.1.1.1:8443 --username=admin --password=adminCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Grant the admin user account the
cluster-adminrole.oadm policy add-cluster-role-to-user cluster-admin admin
# oadm policy add-cluster-role-to-user cluster-admin adminCopy to Clipboard Copied! Toggle word wrap Toggle overflow
For more information on authentication methods, see https://access.redhat.com/documentation/en/openshift-enterprise/3.2/single/installation-and-configuration/#identity-providers.