Chapter 3. User Administration

OpenShift Enterprise users are typically developers working on and hosting their applications in an OpenShift Enterprise deployment. This chapter covers tasks related to the administration of those user accounts.

3.1. Creating a User

On broker hosts, the oo-admin-ctl-user command can be used with the -c or --create option to create new user accounts for the OpenShift Enterprise environment. The command creates a user record in MonogDB and when used with different options, allows different capabilities to be set for specific users overriding the default settings in the /etc/openshift/broker.conf file.
Creating user accounts using the oo-admin-ctl-user command does not set up authentication credentials. OpenShift Enterprise allows you to choose from a variety of authentication mechanisms and separates the concept of the user record that it stores in MongoDB from the user credentials that are stored by your chosen authentication mechanism. See the OpenShift Enterprise Deployment Guide [1] for more information on configuring user authentication on the broker.
To create one user at a time, use the following:
# oo-admin-ctl-user -c -l Username
To create multiple users at once, first create a file containing one login per line, then use the following:
# oo-admin-ctl-user -c -f File_Name