How To Install munge on Kali Linux
Introduction
In this tutorial we learn how to install munge
on Kali Linux.
What is munge
munge is:
MUNGE (MUNGE Uid ‘N’ Gid Emporium) is an authentication service for creating and validating credentials. It allows a process to authenticate the UID and GID of another local or remote process within a group of hosts having common users and groups. These hosts form a security realm that is defined by a shared cryptographic key.
A process creates a credential by requesting one from the local MUNGE service. The encoded credential contains the UID and GID of the originating process. This process sends the credential to another process within the security realm as a means of proving its identity. The receiving process validates the credential with the use of its local MUNGE service. The decoded credential provides the receiving process with a reliable means of ascertaining the UID and GID of the originating process, and this information can be used for accounting or access control decisions.
Clients can create and validate these credentials without the use of root privileges, reserved ports, or platform-specific methods.
There are three methods to install munge
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install munge Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install munge
using apt-get
by running the following command:
sudo apt-get -y install munge
Install munge Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install munge
using apt
by running the following command:
sudo apt -y install munge
Install munge Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install munge
using aptitude
by running the following command:
sudo aptitude -y install munge
How To Uninstall munge on Kali Linux
To uninstall only the munge
package we can use the following command:
sudo apt-get remove munge
Uninstall munge And Its Dependencies
To uninstall munge
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove munge
Remove munge Configurations and Data
To remove munge
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge munge
Remove munge configuration, data, and all of its dependencies
We can use the following command to remove munge
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge munge
Dependencies
munge have the following dependencies:
References
Summary
In this tutorial we learn how to install munge
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.