How To Install oidentd on Ubuntu 20.04
Introduction
In this tutorial we learn how to install oidentd
on Ubuntu 20.04.
What is oidentd
oidentd is:
An ident (rfc1413) daemon for IPv4 and IPv6.
Oidentd allows users, given the proper permission, to specify the identd response that the server will output when a successful lookup is completed. Oidentd also allows for pseudo-random strings (either a prefix, such as “user,” followed by a number between 0 and 99999, or 10 pseudo-random characters of the set 0-9A-Za-z) to be returned upon the completion of a successful lookup instead of a username or a UID.
Oidentd supports IPv4 masqueraded connections, including netfilter.
There are three methods to install oidentd
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install oidentd Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install oidentd
using apt-get
by running the following command:
sudo apt-get -y install oidentd
Install oidentd Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install oidentd
using apt
by running the following command:
sudo apt -y install oidentd
Install oidentd Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install oidentd
using aptitude
by running the following command:
sudo aptitude -y install oidentd
How To Uninstall oidentd on Ubuntu 20.04
To uninstall only the oidentd
package we can use the following command:
sudo apt-get remove oidentd
Uninstall oidentd And Its Dependencies
To uninstall oidentd
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove oidentd
Remove oidentd Configurations and Data
To remove oidentd
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge oidentd
Remove oidentd configuration, data, and all of its dependencies
We can use the following command to remove oidentd
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge oidentd
References
Summary
In this tutorial we learn how to install oidentd
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.