How to Install and Uninstall ejabberd-mod-shcommands Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 18,2024

1. Install "ejabberd-mod-shcommands" package

This tutorial shows how to install ejabberd-mod-shcommands on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ejabberd-mod-shcommands

2. Uninstall "ejabberd-mod-shcommands" package

Please follow the instructions below to uninstall ejabberd-mod-shcommands on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove ejabberd-mod-shcommands $ sudo apt autoclean && sudo apt autoremove

3. Information about the ejabberd-mod-shcommands package on Ubuntu 20.10 (Groovy Gorilla)

Package: ejabberd-mod-shcommands
Architecture: amd64
Version: 0.2020.04.28~dfsg0-2
Multi-Arch: same
Priority: optional
Section: universe/net
Source: ejabberd-contrib
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Ejabberd Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 27
Depends: erlang-base (>= 1:17) | erlang-abi (= 17.0), erlang-base (>= 1:23.0.3+dfsg) | erlang-base-hipe (>= 1:23.0.3+dfsg), ejabberd (= 20.07-1)
Filename: pool/universe/e/ejabberd-contrib/ejabberd-mod-shcommands_0.2020.04.28~dfsg0-2_amd64.deb
Size: 8156
MD5sum: 951f703792cd02bbd6bd8a9e1189cf38
SHA1: 229452dffbc946792474333e9b8bc717f02e7e52
SHA256: bc2d8ad67562d43cf274ff78478f8e5cbc30c28d9c600bcd89db2e7cd34727cc
SHA512: ba3c5b174e7a62df7a4ad48944bdaf234e23b1f5c0720eb77ae7e99f66cf75b7e315104ac969f86167dd7e9d2407ba95bdd0823a1d5597d94b6cbb1004239a38
Homepage: https://github.com/processone/ejabberd-contrib
Description-en: execute shell commands via XMPP (dangerous!)
WARNING: USE THIS MODULE AT YOUR OWN RISK !!!
This module allows ejabberd administrators to remotely execute shell commands
which could compromise both the ejabberd server and the whole machine.
.
This module provides the ejabberd server administrator a method to remotely
execute shell commands through the ejabberd server.
.
It provides a page in the ejabberd Web Admin which only the administrators of
the whole server can access.
.
Three types of commands are possible:
* ejabberd_ctl: makes a call to ejabberd_ctl;
* erlang shell: executes an erlang command;
* system shell: executes a command on the system shell.
The result of the execution will be shown.
.
In the system shell, only non-interactive commands will work correctly,
for example this will work:
ps -all
Don't use commands that start an interactive mode:
DON'T TRY THIS: top
DON'T TRY THIS: vim readme.txt
.
This module does not check if the commands are dangerous or problematic,
so this module is only recommended for experienced ejabberd and Erlang/OTP
administrators. USE THIS MODULE AT YOUR OWN RISK !!!
Description-md5: f67fcf10a6b64596823a4d0c9e28aa06