Users can be granted access to DC/OS by another authorized user. A default user is automatically created by the first user who logs in to the DC/OS cluster. Users can be added from the web interface or from the CLI.
Add users from the web interface
-
Launch the DC/OS web interface and log in with your username (Google, GitHub, and Microsoft) and password.
-
Click on Organization in the left hand menu. From the Users screen, click the plus sign (+) in the upper right corner, and fill in the new user email address. New users are automatically sent an email notifying them of access to DC/OS.
Figure 1. Adding a new user
Add users from the CLI
You can add users to your DC/OS cluster from a terminal by using the dcos_add_user.py
script. This script is included by default with your DC/OS installation.
Prerequisites:
- DC/OS is installed
-
SSH to a master node and run this command, where
<email>
is the user’s email:sudo -i dcos-shell /opt/mesosphere/bin/dcos_add_user.py <email>
-
Send the URL of your DC/OS cluster (e.g.
http://<public-master-ip>/
) to the new user. The user specified by<email>
can now login and access the cluster.
Delete users
- From the Users screen, select the user name and click Delete.
- Click Delete to confirm the action.

Figure 2. Deleting a user
Switching users
To switch users, you must log out of the current user and then back in as the new user.
From the web interface
- To log out of the DC/OS web interface, click on your username in the upper-right side and select Sign Out.
Figure 3. Drop down user menu
You can now log in as another user.
From the CLI
- To log out of the DC/OS CLI, enter the command:
dcos config unset core.dcos_acs_token
Removed [core.dcos_acs_token]
You can now log in as another user.
Next Steps
For more information on security, check out Security and Authentication