services:labtest:laptop
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:labtest:laptop [2017/07/14 10:13] – jas | services:labtest:laptop [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Labtest Mode (Laptop Edition) ====== | ||
- | Laptop Labtest brings some of the functionality of desktop labtest to tech-managed laptops in our labs. Laptop labtest provides a secure computing environment where students have access to the software on our laptops, without having access to their files, the Internet, printing, or email. | ||
- | |||
- | ===== Requesting Laptop Labtest ===== | ||
- | |||
- | In order to place laptops into labtest mode, faculty must provide various [[services: | ||
- | |||
- | View the current lab booking schedule [[http:// | ||
- | |||
- | Please contact tech as soon as possible to schedule your labtest sessions or if there is a discrepancy in your scheduled test. | ||
- | |||
- | ===== Setting Up Your Labtest ===== | ||
- | |||
- | Create a " | ||
- | % mkdir / | ||
- | |||
- | Make it owned by " | ||
- | % chgrp labtest / | ||
- | |||
- | Makes sure that nobody but you can access your labtest folder while you are preparing it: | ||
- | % chmod 700 / | ||
- | |||
- | Place files in your labtest folder which will be viewable by students in labtest mode. You can use HTML, CGI, PHP, and more. | ||
- | |||
- | ===== Authentication in Labtest ===== | ||
- | |||
- | Students will only be able to view your labtest web page from a laptop that is in labtest mode. However, by default, students will not need to authenticate to view the page. You may wish to require students to authenticate via Passport York or EECS login as follows: | ||
- | |||
- | == Passport York Authentication == | ||
- | |||
- | In order to authenticate students via Passport York login, Create a // | ||
- | AuthType Basic | ||
- | AuthName "EECS Laptop Labtest" | ||
- | AuthType PYork | ||
- | Require valid-user | ||
- | PYorkAllowEveryone on | ||
- | PYorkAppID " | ||
- | Require valid-user | ||
- | </ | ||
- | |||
- | Make sure the file is readable: | ||
- | % chmod 644 / | ||
- | |||
- | The Passport York module passes additional variables which can be used by custom scripts including: | ||
- | |||
- | * HTTP_PYORK_VERSION - PassportYork version | ||
- | * HTTP_PYORK_USER - PassportYork username | ||
- | * HTTP_PYORK_SESSION_ID - PassportYork session ID | ||
- | * HTTP_PYORK_CYIN - student number/ | ||
- | * HTTP_PYORK_FIRSTNAME - first name | ||
- | * HTTP_PYORK_SURNAME - surname | ||
- | * HTTP_PYORK_EMAIL - email | ||
- | |||
- | **NOTE:** If you authenticate students via their Passport York account, when they go to submit using web submit, they won't have to login again! | ||
- | |||
- | == EECS Authentication == | ||
- | |||
- | In order to authenticate students via EECS login, Create a // | ||
- | AuthType Basic | ||
- | AuthName " | ||
- | AuthBasicProvider external | ||
- | AuthExternal eecs | ||
- | Require valid-user | ||
- | </ | ||
- | |||
- | **WARNING: | ||
- | |||
- | ===== Securing Your Labtest ===== | ||
- | |||
- | To make your labtest available, run " | ||
- | % ltenable / | ||
- | |||
- | To disable your labtest, run " | ||
- | % ltdisable / | ||
- | |||
- | ===== Setting Up A Submit Directory ===== | ||
- | |||
- | Create a submit directory in your course directory: | ||
- | % mkdir / | ||
- | |||
- | This directory should be available to anyone: | ||
- | % chmod 755 / | ||
- | |||
- | Create a directory to accept permissions for your lab: | ||
- | % mkdir / | ||
- | |||
- | The submission directory must be group labtest: | ||
- | % chgrp labtest / | ||
- | |||
- | To enable submissions on the day of your test: | ||
- | % chmod 770 / | ||
- | |||
- | To disable submissions after your test is done: | ||
- | % chmod 700 / | ||
- | |||
- | For additional information on submit including options to enable/ | ||
- | |||
- | ===== Allowing Access to Previously Submitted Data In A Labtest ===== | ||
- | |||
- | From time to time, you may wish to allow students in labtest mode to access previously submitted content from outside labtest mode. In order to make this happen, all you need to do is change the group of the submit assignment directory from submit (non-labtest mode) to labtest, and remove write permission. | ||
- | |||
- | For example: | ||
- | % chgrp -R labtest / | ||
- | % chmod 750 / | ||
- | |||
- | ===== Labtest Account Customization ===== | ||
- | |||
- | Sometimes, your labtest may require students to download and unarchive files, or run a set of commands prior to your test. This introduces avenues for trouble if the students don't follow your instructions properly. | ||
- | |||
- | Create a folder for labtest initialization in your course web folder: | ||
- | % mkdir / | ||
- | |||
- | Copy files into this folder. | ||
- | |||
- | Create a custom shell script called " | ||
- | |||
- | You **must** include a // | ||
- | % echo " | ||
- | % chmod 644 / | ||
- | |||
- | ===== Testing Your Labtest Setup ===== | ||
- | |||
- | For information on testing your labtest setup, please see [[services: | ||
- | |||
- | ===== On The Day of Your Labtest ===== | ||
- | |||
- | At the time of your labtest, a system process will enable te laptops that you've booked to go into labtest mode. Unlike desktop labtest mode, the laptops will **not** go into labtest mode automatically. | ||
- | |||
- | Since EECS laptops don't mount /eecs from our file server, the student laptop does not have direct access to / | ||
- | |||
- | Students should start the eecs-vbox-common-lab virtual machine, and then start Firefox to get the test question. | ||
- | |||
- | In order to submit files, the student should visit: https:// | ||
- | Please make sure that your submit folder is writable by group labtest, or students will be unable to submit. | ||
- | |||
- | During labtest mode, the laptops networking is severely restricted. | ||
- | |||
- | At the end of your labtest, a system process will disable the laptops from entering labtest mode, but you or your TA must reboot the laptops connected to the wired network in order to make the laptop go back to labtest mode. If a laptop is returned to the lab monitor without being set back to linux mode, then a student will not be able to use that laptop again until it is connected to the wired network, and booted one time. | ||
- | |||
- | ===== Application Notes ===== | ||
- | |||
- | This section will include notes on user experiences using different applications in labtest mode. | ||
- | |||
- | * Android Studio was not happy about working in offline/ | ||
- | |||
- | ===== Other Information ===== | ||
- | |||
- | * At this time, laptop labtest **requires** the laptop to be connected to a **wired** network drop on a VLAN managed by EECS. It does not work over WiFi. As a result, laptop labtest is not usable in the alternate exam centre. | ||
- | * Students must save and submit files **frequently** throughout the test to avoid loss in the event of machine failure or human error. | ||
- | * At the end of the test, close the permission on the submit directory so that it is no longer readable and writable by group labtest. | ||
- | * If a student visits the labtest start page from the host O/S, and not the VM, then, when they go to submit their files, they won't see any of the files that they' | ||
- | * Items in regular labtest that do NOT appear in laptop labtest: automatic rebooting of laptops, automatic warnings at the end of the test, SecureQ (it's available, but is impossible if the laptops are laid out randomly), and labtest file synchronization | ||
- | |