ejabberd - Comments for "adding a new user to a shared group -- newbie kindly help" https://www.ejabberd.im/node/738 en You can use https://www.ejabberd.im/node/738#comment-1534 <p>You can use <noindex><a href="/ejabberdctl-extra" title="contribution to ejabberd" rel="nofollow" >ejabberdctl-extra</a></noindex>. Then you can write a shell script like this (not tested, so there may be bugs in it):</p> <pre>#!/bin/sh ./ejabberdctl change@this register $1 $2 $3 ./ejabberdctl change@this add-usertogroup $1 $2 specify_a_group virtual_host_of_the_group </pre><p> To create user@server and add it in the group, you can do:</p> <pre>./script user server password</pre><p> --<br /> sander</p> Tue, 04 Apr 2006 10:39:28 +0000 sander comment 1534 at https://www.ejabberd.im