浏览代码

Managing XMPP users

Bob Mottram 11 年前
父节点
当前提交
a0bd02f442
共有 1 个文件被更改,包括 26 次插入0 次删除
  1. 26
    0
      beaglebone.txt

+ 26
- 0
beaglebone.txt 查看文件

@@ -1952,6 +1952,32 @@ On your internet router/firewall open ports 5222 and 5223 and forward them to th
1952 1952
 
1953 1953
 It's possible to test that your XMPP server is working at https://xmpp.net.  It may take several minutes and you'll get a low score because of the self-signed certificate, but it will at least verify that your server is capable of communicating.
1954 1954
 
1955
+*** Managing users
1956
+
1957
+To add a user:
1958
+
1959
+#+BEGIN_SRC: bash
1960
+prosodyctl adduser myusername@mydomainname.com
1961
+#+END_SRC
1962
+
1963
+To change a user password:
1964
+
1965
+#+BEGIN_SRC: bash
1966
+prosodyctl passwd myusername@mydomainname.com
1967
+#+END_SRC
1968
+
1969
+To remove a user:
1970
+
1971
+#+BEGIN_SRC: bash
1972
+prosodyctl deluser myusername@mydomainname.com
1973
+#+END_SRC
1974
+
1975
+Report the status of the XMPP server:
1976
+
1977
+#+BEGIN_SRC: bash
1978
+prosodyctl status
1979
+#+END_SRC
1980
+
1955 1981
 *** Using it with Ubuntu
1956 1982
 Open *System Settings* and select *Online Accounts*, *Add account*  and then *Jabber*.
1957 1983