diff --git a/sisr1/tp04_scripts_admin/deployUsers.sh b/sisr1/tp04_scripts_admin/deployUsers.sh index 3a9f4e3..0ed39d0 100644 --- a/sisr1/tp04_scripts_admin/deployUsers.sh +++ b/sisr1/tp04_scripts_admin/deployUsers.sh @@ -10,7 +10,8 @@ ssh $user@$ip "mkdir $workdir" 2> /dev/null scp "./createGroups.sh" "./logins.csv" "./Users.csv" "./createUsers.sh" $user@$ip:$workdir # Exécution les scripts ssh $user@$ip << EOF - bash $workdir/createGroups.sh - bash $workdir/createUsers.sh + cd $workdir + bash createGroups.sh + bash createUsers.sh EOF ssh $user@$ip "rm -R $workdir" \ No newline at end of file