How I can change the password of a user? from command line

How I can change the password of a user?

to register use

ejabberdctl register domain username password

But how do I change the password of a user?

thanks prefer to do it from command line

You should look into

You should look into set-password:

       set-password user server password
              Set password for user user@server to password.

I am running ejabber

I am running ejabber community v 14.07, which does not seem to have the set-password feature. When was this added?

It is in mod_admin_extra. It

It is in mod_admin_extra. It is to be a contrib and is a default module in ejabberd 15.04.
In that version it seems to be called change_password

This is what confused me --

This is what confused me -- mod_admin_extra is not in the contrib tree any more.

mod_admin_extra is now in

mod_admin_extra is now in main ejabberd repository and was included in ejabberd 15.04 release.

You can not with

You can not with set-password

ejabberdctl set-password user mydomain.com mypasslucky
Error: command "set-password" not known.

# ejabberdctl status
The node 'ejabberd@myhost' is started with status: started
ejabberd 2.1.12 is running in that node

Then i am install mod_admin_extra

ejabberdctl change_password user mydomain.com mypassstrong

mod_admin_extra is included

mod_admin_extra is included latest ejabberd. Please use at least ejabberd 15.05.

Syndicate content