Skip to content
espenak edited this page Aug 30, 2011 · 8 revisions

An administrator with access to the machine where devilry is installed (see Download and install Devilry), can add, modify and search for users.

For this purpose, you should use:

$ cd /where/devilry/is/installed/for/example/var/devily/
$ bin/django_production.py devilry_useradd
$ bin/django_production.py devilry_usermod
$ bin/django_production.py devilry_usersearch

Run them with --help for more information.

Examples

Create a student

$ bin/django_production.py devilry_useradd somestudent --email=stuff@example.com

Modify a students email

$ bin/django_production.py devilry_usermod somestudent --email=changedemail@changemyemail.com

Search for all superadmin users, and only show their usernames

$ bin/django_production.py devilry_usersearch --superusers --username-only
Clone this wiki locally