]> mj.ucw.cz Git - eval.git/blobdiff - README
mo-create-logins - generates logins and passwords for eval and users
[eval.git] / README
diff --git a/README b/README
index edf41566e7473e7e90ef4723eca3c50bcd06c11c..f614d2958eeebb854647fac1a7b46c66fd0843c3 100644 (file)
--- 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.