3 [ -f config ] || { echo "Missing config file, check cwd." ; exit 1 ; }
12 echo "Creating $EVAL_USER"
17 mv bin/profile .profile
20 chown -R $EVAL_USER.$EVAL_GROUP $EVAL_USER
24 for u in $TEST_USERS ; do
28 chown $u.$EVAL_GROUP $u
30 cp $EVAL_USER/bin/box $EVAL_USER/bin/box-$u
31 chown $u.$EVAL_GROUP $EVAL_USER/bin/box-$u
32 chmod 4550 $EVAL_USER/bin/box-$u
36 echo "Creating public"
40 cp -a $H/bin $H/config $H/problems .
41 cp -a $H/public/* bin/
44 chown -R $EVAL_USER.$EVAL_GROUP public
48 echo "Copying SSH keys"
50 cp ~mj/.ssh/authorized_keys $EVAL_USER/.ssh/
51 chown -R $EVAL_USER $EVAL_USER/.ssh