sleep 1 printf "\n\n\tConfigure ejabber server\n\n" sudo docker exec -it ejabberd ejabberdctl register admin localhost admin sudo docker exec -it ejabberd ejabberdctl register sha512sum localhost 12345 printf "\n\n\tList of registered users:\n" sudo docker exec -it ejabberd ejabberdctl registered_users localhost printf "\n\n\tConfigurating ejabber server ended\n\n"