Browse Source

Mise à jour de 'zimbra/Migration/2_import_accounts.sh'

master
nicolas.fort 9 months ago
parent
commit
2199898b1b
  1. 9
      zimbra/Migration/2_import_accounts.sh

9
zimbra/Migration/2_import_accounts.sh

@ -1,11 +1,12 @@
#!/bin/bash #!/bin/bash
RCODE=$? RCODE=$?
if [ ! whoami = "zimbra" ]; then
if [ $(id -u) -eq 0 ]
then
echo "Ce script ne doit pas être lancé en tant que root"
exit 1
fi
echo "Le user doit être zimbra, pas root ! "
exit 1;
fi
echo "Importation des comptes :" echo "Importation des comptes :"
PASSWORDS="passwords" PASSWORDS="passwords"

Loading…
Cancel
Save