From 4f0fce8e44e54bc150cc63c71966b84c17ced0c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?s=C3=A9bastien?= Date: Fri, 29 Mar 2024 17:42:53 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9=C2=A0:=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20zimbra/Migration/1=5Fexport=5Faccounts.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zimbra/Migration/1_export_accounts.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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 :"