There used to be a create_user script to create a user with multiple options. I have tested this with bitnami installer ironwood versiona and tutor 3.12.6 also.
Now I don’t see in tutor10.x.x
There used to be a create_user script to create a user with multiple options. I have tested this with bitnami installer ironwood versiona and tutor 3.12.6 also.
Now I don’t see in tutor10.x.x
This command was deleted in this pull request: https://github.com/edx/edx-platform/pull/21322
Developers are encouraged to use manage_user
instead:
usage: manage.py manage_user [-h] [--remove] [--superuser] [--staff]
[--unusable-password]
[--initial-password-hash INITIAL_PASSWORD_HASH]
[-g [GROUPS [GROUPS ...]]] [--version]
[-v {0,1,2,3}] [--settings SETTINGS]
[--pythonpath PYTHONPATH] [--traceback]
[--no-color] [--force-color]
username email
Creates the specified user, if it does not exist, and sets its groups.
positional arguments:
username
email
optional arguments:
-h, --help show this help message and exit
--remove
--superuser
--staff
--unusable-password
--initial-password-hash INITIAL_PASSWORD_HASH
-g [GROUPS [GROUPS ...]], --groups [GROUPS [GROUPS ...]]
--version show program's version number and exit
-v {0,1,2,3}, --verbosity {0,1,2,3}
Verbosity level; 0=minimal output, 1=normal output,
2=verbose output, 3=very verbose output
--settings SETTINGS The Python path to a settings module, e.g.
"myproject.settings.main". If this isn't provided, the
DJANGO_SETTINGS_MODULE environment variable will be
used.
--pythonpath PYTHONPATH
A directory to add to the Python path, e.g.
"/home/djangoprojects/myproject".
--traceback Raise on CommandError exceptions
--no-color Don't colorize the command output.
--force-color Force colorization of the command output.