Backend exam server. |
/home/vx/bin/vxuserlogin prompts the user for their zID and zPass. kinit is used in the script to authenticate them, and getent is used to check that they have a CSE account. Their zID and UID are written into appropriately-named files in /home/<class-exam-account>/var/<hostname>-<sessionid>.
For testing purposes, if a file called ~/currentexam/etc/autologin exists in the class exam account, vxuserlogin will not prompt, and a fake, but usable, zID and UID will be created instead.