12.2. Creating a User Account


A suitable user account is required before domains and applications can be created. The following instructions describe how to create a user account.

Procedure 12.1. To Create a User Account:

  1. Run the following command on the broker to create a user account:
    # htpasswd -c /etc/openshift/htpasswd username
    This command prompts for a password for the new user account, and then creates a new /etc/openshift/htpasswd file and adds the user to that file.
  2. Use the same command without the -c option when creating additional user accounts:
    # htpasswd /etc/openshift/htpasswd newuser
  3. Inspect the /etc/openshift/htpasswd file to verify that the accounts have been created:
    # cat /etc/openshift/htpasswd
A one line entry for each user is displayed.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.