diff options
Diffstat (limited to 'kpov_judge/tasks')
-rw-r--r-- | kpov_judge/tasks/set_motd/task.py | 13 |
1 files changed, 13 insertions, 0 deletions
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. """ } |