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 .
42 cp -a $H/public/* bin/
45 chown -R $EVAL_USER.$EVAL_GROUP public
49 echo "Copying SSH keys"
51 cp ~mj/.ssh/authorized_keys $EVAL_USER/.ssh/
52 chown -R $EVAL_USER $EVAL_USER/.ssh