3 [ -f config ] || { echo "Missing config file, check cwd." ; exit 1 ; }
11 echo "Creating $EVAL_USER"
16 mv bin/profile .profile
19 chown -R $EVAL_USER.$EVAL_GROUP $EVAL_USER
23 for u in $TEST_USERS ; do
27 chown $u.$EVAL_GROUP $u
29 cp $EVAL_USER/bin/box $EVAL_USER/bin/box-$u
30 chown $u.$EVAL_GROUP $EVAL_USER/bin/box-$u
31 chmod 4550 $EVAL_USER/bin/box-$u
35 echo "Creating public"
39 cp -a $H/bin $H/config $H/problems .
40 cp -a $H/public/* bin/
43 chown -R $EVAL_USER.$EVAL_GROUP public
47 echo "Copying SSH keys"
49 cp ~mj/.ssh/authorized_keys $EVAL_USER/.ssh/
50 chown -R $EVAL_USER $EVAL_USER/.ssh