diff --git a/zimbra/Migration/1_export_accounts.sh b/zimbra/Migration/1_export_accounts.sh index 97ad635..db24056 100644 --- a/zimbra/Migration/1_export_accounts.sh +++ b/zimbra/Migration/1_export_accounts.sh @@ -1,4 +1,11 @@ #!/bin/bash +if [ $(id -u) -eq 0 ] +then +echo "Ce script ne doit pas ĂȘtre lancĂ© en tant que root" +exit 1 +fi +``` ) + RCODE=$? echo "Saisir le domaine :"