[root@kvm8 ~]# prosodyctl --help prosodyctl - Manage a Prosody server Usage: /usr/bin/prosodyctl COMMAND [OPTIONS] Where COMMAND may be one of: adduser JID Create the specified user account in Prosody passwd JID Set the password for the specified user account in Prosody deluser JID Permanently remove the specified user account from Prosody start Start Prosody stop Stop a running Prosody server restart Restart a running Prosody server status Reports the running status of Prosody
[root@kvm8 ~]# prosodyctl adduser puser1@deyu.wang [root@kvm8 ~]# prosodyctl adduser puser2@deyu.wang
[root@kvm8 ~]# prosodyctl passwd puser1@deyu.wang Enter new password: Retype new password: [root@kvm8 ~]# prosodyctl passwd puser2@deyu.wang Enter new password: Retype new password:
[root@kvm8 ~]# grep ^allow_registration /etc/prosody/prosody.cfg.lua allow_registration = true;
[root@kvm8 ~]# /etc/init.d/prosody restart Stopping prosody: Stopped [ OK ] Starting prosody: Started [ OK ]