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 [2018/02/13 14:22] – seela | 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 top level directory to host your web files: | ||
- | % mkdir / | ||
- | Make the permissions group and world readeable, | ||
- | % chmod 755 / | ||
- | |||
- | Create a " | ||
- | % mkdir / | ||
- | |||
- | Make it owned by " | ||
- | % chgrp labtest / | ||
- | |||
- | Makes sure that nobody but you can access your labtest directory while you are preparing it: | ||
- | % chmod 700 / | ||
- | |||
- | Place files in your labtest directory which will be viewable by students in labtest mode. You can use HTML, CGI, PHP, and more. | ||
- | |||
- | **WARNING: | ||
- | |||
- | ===== Authentication in Labtest ===== | ||
- | |||
- | Students will view your labtest page from a web browser on a laptop that is in labtest mode. By default, students will not need to authenticate to view the test page. You may wish to require students to authenticate via Passport York or EECS account as follows: | ||
- | |||
- | == Passport York Authentication == | ||
- | |||
- | In order to authenticate students via Passport York account, 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 / | ||
- | |||
- | If you authenticate students via their Passport York account, when they go to submit using web submit, they won't have to login again! | ||
- | |||
- | For your convenience, | ||
- | |||
- | * 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 | ||
- | |||
- | == EECS Authentication == | ||
- | |||
- | In order to authenticate students via EECS login, Create a // | ||
- | AuthType Basic | ||
- | AuthName " | ||
- | AuthBasicProvider external | ||
- | AuthExternal eecs | ||
- | Require valid-user | ||
- | </ | ||
- | |||
- | ===== Securing Your Labtest ===== | ||
- | |||
- | To make your labtest available, run " | ||
- | % ltenable / | ||
- | |||
- | To disable your labtest, run " | ||
- | % ltdisable / | ||
- | |||
- | ===== Submission During Labtest ===== | ||
- | |||
- | During labtest, students will be able to submit files using [[services: | ||
- | |||
- | * https:// | ||
- | |||
- | (You can add "& | ||
- | |||
- | ===== 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 submissions for your labtest: | ||
- | % 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/ | ||
- | |||
- | ===== 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 to labtest, and remove write permission. | ||
- | |||
- | For example: | ||
- | % chgrp -R labtest / | ||
- | % chmod 750 / | ||
- | |||
- | ===== Labtest Account Customization ===== | ||
- | |||
- | Your labtest may require students to download and unarchive files, or run a set of commands before they can start working. | ||
- | |||
- | Create a directory for labtest initialization in your course web directory: | ||
- | % mkdir / | ||
- | |||
- | Since your labtest directory should already restrict access to group labtest only, the ltinit directory can be completely open: | ||
- | % chmod 755 / | ||
- | |||
- | Copy files into the ltinit directory: | ||
- | % cp ~/ | ||
- | % chmod 644 / | ||
- | |||
- | You can optionally create a custom shell script called " | ||
- | #!/bin/sh | ||
- | |||
- | mkdir ~/a1 | ||
- | cp ~/ | ||
- | </ | ||
- | |||
- | Makes sure that labtest.sh is readable. When the file is downloaded, it will be automatically made executable before it is run: | ||
- | |||
- | % chmod 644 / | ||
- | |||
- | |||
- | You **must** include an // | ||
- | % 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 the 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 laptop does not have access to / | ||
- | |||
- | Students should start the eecs-vbox-common-lab virtual machine, and then start Firefox which will display the labtest start page - https:// | ||
- | |||
- | In order to submit files, the student should visit: https:// | ||
- | Please make sure that your submit directory is writable by group labtest, or students will be unable to submit. | ||
- | |||
- | During labtest mode, the laptop 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 them go back to standard Linux mode. If a laptop is returned to the lab monitor without being set back to linux mode, then the laptop will remain in labtest mode until it is connected to a **wired** network drop on a VLAN managed by EECS. | ||
- | |||
- | ===== 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 and does work, but is impossible if the laptops are laid out randomly), and labtest file synchronization | ||
- | **Added Feb 2018** | ||
- | * /common is now available in laptop labtest mode so the various sources can be placed in the directory to be accessed during labtest | ||
- | |||
- | ===== FAQ laptop labtest ===== | ||
- | * **What do I need to do to test on a laptop borrowed from the PRISM Lab** | ||
- | |||
- | |
services/labtest/laptop.1518549738.txt.gz · Last modified: 2018/02/13 14:22 by seela