How to Create admin user in lms/cms/etc.

How to view/update the Django admin console.

Note that these instructions are for use with devstack. If you are using a full-stack environment, some variations are required; for edX sandboxes, see the instructions on Managing Open edX Tips and Tricks.

Step-by-step guide


  1. First, let's log in to your vagrant instance:

    $ vagrant ssh
  2. Switch to the edxapp user:

    $ sudo su edxapp
  3. Create your user

    $ ./manage.py lms manage_user --help
    $ ./manage.py lms manage_user username username@example.com --staff --superuser --settings=devstack
  4. Confirm that you have access to the admin portal by logging in with your new account to LMS Admin