How to Install and Uninstall ejabberd-mod-shcommands Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 12,2024

1. Install "ejabberd-mod-shcommands" package

This guide covers the steps necessary to install ejabberd-mod-shcommands on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "ejabberd-mod-shcommands" package

This tutorial shows how to uninstall ejabberd-mod-shcommands on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the ejabberd-mod-shcommands package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ejabberd-mod-shcommands
Priority: optional
Section: universe/net
Installed-Size: 23
Maintainer: Ubuntu Developers
Original-Maintainer: Ejabberd Packaging Team
Architecture: amd64
Source: ejabberd-contrib
Version: 0.2016.01.12~dfsg0-1
Depends: erlang-base (>= 1:15.b) | erlang-abi-17.0, erlang-base (>= 1:18.2-dfsg) | erlang-base-hipe (>= 1:18.2-dfsg), ejabberd (>= 16.01)
Filename: pool/universe/e/ejabberd-contrib/ejabberd-mod-shcommands_0.2016.01.12~dfsg0-1_amd64.deb
Size: 7344
MD5sum: 8f2c94d94bd308ce6e8e556b0bdd8328
SHA1: 43f9cd4ac07e34ea375348d2be1f896de155a368
SHA256: 795f1e3e40f33cfcbb47f866c4af669627acc31fc5de6bd3325ac743e5246f13
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
Homepage: https://github.com/processone/ejabberd-contrib
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu