WeBWorK Main Forum

Add admin account to courses

Add admin account to courses

by Ricardo T -
Number of replies: 2

I was wondering if there was an automatic way to add an admin account to courses on WebWork. We have a dozen of courses that were recently created but the admin account used for other courses does not have access.

The only way I know to get around this issue is to run the command below on each course:

wwsh courseName putadmin

Then, login to each course and change the admin password from the default. Can this be simplified other than writing a cronjob?

Thank you,

In reply to Ricardo T

Re: Add admin account to courses

by Michael Gage -
I believe that if the "admin" course has users with admin privileges they are automatically entered as users with admin privileges in any course that is created.

An additional admin user (usually temporary) can be created from the command line by the method you describe.