Skip to content
Snippets Groups Projects
Commit 721e23db authored by Laros's avatar Laros
Browse files

Merge branch 'master' of 10.14.12.122:humgen/ngs-intro-course

parents 73000bd1 3cf81c41
No related branches found
No related tags found
No related merge requests found
if [ $(who | grep -cw ^$LOGNAME) -gt 1 ]; then
echo This account is already in use, exiting.
exit
fi
......@@ -5,7 +5,7 @@
#
username="course"
number_of_accounts=30
number_of_accounts=50
echo -n "Please provide a password: "
stty -echo
......@@ -34,5 +34,6 @@ $password
EOF
cp -a ../exercise /home/$account
chown -R $account:$account /home/$account/exercise
cat deny.bashrc >> /home/$account/.bashrc
i=$((i + 1))
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment