munge command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
munge: command not found
or when using sudo you get the following error message
sudo: munge: command not found
Solutions to munge: command not found
How To Fix munge: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu munge is provided by munge package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install munge
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install munge.
sudo apt -y install munge
Or if you have aptitude installed you can use the following command.
sudo aptitude install munge
Summary
In this tutorial we learn how to fix munge command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.