Changing Admin Password

Hi all,

I'm tearing my hair out here trying to change the admin password. I've tried ejabberdctl, and the erlang shell, neither have worked (though gave me no error messages). I even tried uninstalling and reinstalling ejabberd giving a new password, but for some reason the first password I used STILL WORKS! What on earth is going on?

Cheers

I've been struggling with

I've been struggling with this all day, typical that I solve it 15 minutes after posting it on the forum.

So, here's the steps I followed:

ejabberdctl stop
ejabberdctl live

Then in the erlang console, I was trying:

ejabberd_auth:set_password(<<"admin">>, <<"localhost">>, <<"password">>).

This did not result in an error, which IMO is a problem. When I'd set the server up, I was using my machine name for the server, so when I replaced "localhost" with my machine name, it actually worked.

God knows why reinstalling ejabberd didn't work either, that's just stupid.

Syndicate content