[Server-devel] school server Moodle enrollment

Martin Langhoff martin.langhoff at gmail.com
Wed Nov 24 10:00:50 EST 2010

On Wed, Nov 24, 2010 at 7:46 AM, Tony Anderson <tony_anderson at usa.net> wrote:
> I have entered their laptop serial
> numbers in /etc/coursecreator but they are still assigned student roles
> somewhere in the enrollment logic.

Try /etc/moodle/coursecreators -- from the relevant code...


    /* coursecreators are set in two possible ways
     * - By default, the first user to login to Moodle successfully
     *   is a coursecreator. This works well for low-maintenance small
     *   deployments.
     * - If /etc/moodle/coursecreators exists, then it is assumed to be
     *   a newline-delimited file with the serial numbers (which are the
     *   usernames, in moodle-land).


 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

More information about the Server-devel mailing list