From 536746cd396a7d3a27e9b04cc8154f5f62e4bd07 Mon Sep 17 00:00:00 2001 From: "ss5781@student.uni-lj.si" Date: Fri, 12 Dec 2014 14:08:06 +0000 Subject: Prevod instructions set_motd git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@45 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/set_motd/task.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'kpov_judge/tasks/set_motd') diff --git a/kpov_judge/tasks/set_motd/task.py b/kpov_judge/tasks/set_motd/task.py index 7711648..6145111 100644 --- a/kpov_judge/tasks/set_motd/task.py +++ b/kpov_judge/tasks/set_motd/task.py @@ -1,3 +1,5 @@ + + #!/usr/bin/env python # -*- coding: utf-8 -*- @@ -21,6 +23,17 @@ Uporabniško ime in niz dobite kot parametre ob zagonu run_test.py. Pri nizu paz IP navideznega računalnika ter geslo nastavite sami. Ocenjevalni program pričakuje, da se bo ob koncu prijave pojavila ukazna vrstica oblike uporabnisko_ime@ime_racunalnika:~$ . Pazite, da se bo takšna vrstica pojavila šele po nizu, ki ste ga dobili v navodilih. + + +Create two virtual machines - named Test and Student. For the 'Test' use disc image named Test. You receive short string on machine 'Test'. Make sure that this string appears in the message which is displayed after you login to machine 'Student'. This is so called 'message of the day'MOTD. + +Make sure that when the user logins via ssh some string is displayed. Set the machine, so that you can reach it from test computer (Test) + +You get username and string as parameters when you run run_test.py. Pay attention to the string length, it might not be visible right away without moving the cursor. + +Set up IP and password of virtual machine yourself. + +Grading system expects, that at the end of login, a command line similar to uporabnisko_ime@ime_racunalnika:~$ appears. Make sure that this line shows up after the string you got in the instructions. """ } -- cgit v1.2.1