#!/bin/bash #for fist run #python3 -m venv env #source env/bin/activate #pip3 install -t requirements #activate env before: #source env/bin/activate #https://democonv.sharix-app.org/ - testing client #users recommended for testing #user: test@ej.sharix-app.org #user: test1@ej.sharix-app.org python3 gen-passwords.py | while IFS=' ' read -ra line; do ejabberdctl register ${line[0]} ej.sharix-app.org ${line[1]}; done; python3 gen-passwords.py | while IFS=' ' read -ra line; do ejabberdctl change-password ${line[0]} ej.sharix-app.org ${line[1]}; done; #ejabberdctl register $username ej $password #ejabberdctl change-password User Host newPassword #ejabberdctl check_account user1 localhos # #ejabberdctl unregister badlop3 localhost #ejabberdctl registered_users localhost #ejabberdctl help registered_userst #берем список ботов и паролей к ним и создаем или апдейтим пользователей (если уже созданы) на сервере #Create MUC room #ejabberdctl create_room room_name muc_service xmpp_domain #Destroy MUC room #ejabberdctl destroy_room room_name muc_service # #List unused MUC rooms #ejabberdctl rooms_unused_list xmpp_domain number_of_days #https://docs.ejabberd.im/admin/ejabberdctl/muc-admin/