Enable user registration - eJabberd

15,956

You have two options regarding user registration. You can either manually create user accounts on the server, or you can enable in-band registration, which allows anyone who can connect to the server to register an account.

If you want to create accounts manually, run this on the server for each user:

sudo ejabberdctl register <username> <domain> <password>

If you want to enable in-band registration, find the following line in /etc/ejabberd/ejabberd.cfg and change the deny to allow so that it looks like this.

{access, register, [{allow, all}]}.
Share:
15,956

Related videos on Youtube

travega
Author by

travega

Updated on September 18, 2022

Comments

  • travega
    travega almost 2 years

    I am a complete n00b to configuring Jabber/XMPP servers and I am hoping to get some help getting set up. I have done all of this and installed pidgin. I seem to be able set up my "admin-user" in pidgin no problem but when I try to register a new user I get a 403 Fobidden message back from pidgin.

    Do I need to change the ejabberd.cfg file to allow users to register? If so how do I go about it? If not what do I need to get basic chat and fileshare going?

  • travega
    travega about 12 years
    Awesome that worked thanks. Any info on how I can get registered uses to be able to chat?!!
  • mgorven
    mgorven about 12 years
    The users need to add each other to their rosters, and should then be able to send messages.