diff --git a/sisr1/tp04_scripts_admin/tp04/deployUsers.sh b/sisr1/tp04_scripts_admin/tp04/deployUsers.sh index c66c749..68eca5e 100644 --- a/sisr1/tp04_scripts_admin/tp04/deployUsers.sh +++ b/sisr1/tp04_scripts_admin/tp04/deployUsers.sh @@ -6,7 +6,7 @@ user=$user workdir=/$user/deploy ssh $user@$ip "mkdir $workdir" 2> /dev/null scp "./createGroups.sh" "./logins.csv" "Users.csv" "createUsers.sh" $user@$ip:$workdir -ssh $user@$ip >> EOF +ssh $user@$ip << EOF bash $workdir/createGroups.sh bash $workdir/createUsers.sh rm -R $workdir