X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=README;h=f614d2958eeebb854647fac1a7b46c66fd0843c3;hb=3ee84a61340017dccf73f53194cd7ec4c7ec838b;hp=edf41566e7473e7e90ef4723eca3c50bcd06c11c;hpb=2b4c65a6683373f8de0ca526f8c89f252d5235af;p=eval.git diff --git a/README b/README index edf4156..f614d29 100644 --- a/README +++ b/README @@ -34,3 +34,20 @@ Run bin/mo-install to create the infrastructure. Run bin/mo-create-contestants to create contestants' home directories, files from template/* will be copied there automatically. + +If users are logging in remotely, set quotas and other limits for them. +Don't use limits.conf for that since with sshd the limits would affect _root_ +(probably bug in interface between sshd and PAM). Just add to /etc/profile: + + if [ $UID -ge 65100 -a $UID -le 65199 ] ; then + ulimit -Sc 8192 # core file size + ulimit -SHu 32 # processes + ulimit -SHn 256 # max open files + ulimit -SHv 262144 # max virtual memory + fi + + +Various notes: +~~~~~~~~~~~~~~ +- if you want to assign partial score to testcases, just make the OUTPUT_CHECK + program generate a file $TDIR/$TEST.pts containing the score.