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.