How to Install and Uninstall ejabberd-mod-shcommands Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 05,2024

1. Install "ejabberd-mod-shcommands" package

Please follow the instructions below to install ejabberd-mod-shcommands on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "ejabberd-mod-shcommands" package

This guide let you learn how to uninstall ejabberd-mod-shcommands on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the ejabberd-mod-shcommands package on Ubuntu 21.04 (Hirsute Hippo)

Package: ejabberd-mod-shcommands
Architecture: amd64
Version: 0.2020.10.21~dfsg0-5
Multi-Arch: allowed
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.2.3+dfsg) | erlang-base-hipe (>= 1:23.2.3+dfsg), ejabberd (= 21.01-2)
Filename: pool/universe/e/ejabberd-contrib/ejabberd-mod-shcommands_0.2020.10.21~dfsg0-5_amd64.deb
Size: 8196
MD5sum: 9a02f400379eeb382936c9ae64e0e25a
SHA1: d1197b0fc0a29b11ef996aab4ede9b7eec139598
SHA256: e58a89c356d9cfe17f949dab58083a8a0296d8512d5bbe555253d162660e022e
SHA512: 50d65d2db86f587bfabc0539184ee6444e4b86e663f4999d14684fb7311fa78f33d6c7299231e13b4cb583fa607cdd871001b7b1bffe3c5520499143584e97cd
Homepage: https://github.com/processone/ejabberd-contrib
Description-en: ejabberd module to 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: 5a7a26f97136409a577eb108ea268f2d