aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-07-09 20:39:55 +0200
committerKim Alvefur <zash@zash.se>2012-07-09 20:39:55 +0200
commit1cecc287b6bc4e4c4d1a091e300b0b733f517ae7 (patch)
tree8d40270a065a1946d4f895d145e0f684aa0e7ee4 /plugins/mod_admin_telnet.lua
parent5968142ab2b3891a2650ae003f34f19c1ed66d94 (diff)
downloadprosody-1cecc287b6bc4e4c4d1a091e300b0b733f517ae7.tar.gz
prosody-1cecc287b6bc4e4c4d1a091e300b0b733f517ae7.zip
mod_admin_telnet: Add info about user management commands to the help
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-rw-r--r--plugins/mod_admin_telnet.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 208cb08b..3390d62e 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -187,6 +187,7 @@ function commands.help(session, data)
print [[s2s - Commands to manage sessions between this server and others]]
print [[module - Commands to load/reload/unload modules/plugins]]
print [[host - Commands to activate, deactivate and list virtual hosts]]
+ print [[user - Commands to create and delete users, and change their passwords]]
print [[server - Uptime, version, shutting down, etc.]]
print [[config - Reloading the configuration, etc.]]
print [[console - Help regarding the console itself]]
@@ -207,6 +208,10 @@ function commands.help(session, data)
print [[host:activate(hostname) - Activates the specified host]]
print [[host:deactivate(hostname) - Disconnects all clients on this host and deactivates]]
print [[host:list() - List the currently-activated hosts]]
+ elseif section == "user" then
+ print [[user:create(jid, password) - Create the specified user account]]
+ print [[user:password(jid, password) - Set the password for the specified user account]]
+ print [[user:delete(jid, password) - Permanently remove the specified user account]]
elseif section == "server" then
print [[server:version() - Show the server's version number]]
print [[server:uptime() - Show how long the server has been running]]