If you can log in and sudo, do so now to get a root shell. Then force quit because the write mode is not set. Inform user how to use their account. Be sure to update it if things change. All files should be stored in the user's home directory.
Some classes use cgi for projects and learning.
We are sure not going to stand in their way. One thing that does need to be different is we need to create a group for the class, then append the group number onto the arguments for the script. That allows for easier clean up at the end of the semester. At times, organizations will request an account attached to the organization verse a person. When this happens, if it seems reasonable that they really need a special account, just select a UID just above 500 that's not already taken.