How To Install slapi-nis on Kali Linux
Introduction
In this tutorial we learn how to install slapi-nis on Kali Linux.
What is slapi-nis
slapi-nis is:
This package provides two plugins for Red Hat and 389 Directory Server.
The NIS Server plugin allows the directory server to act as a NIS server for clients, dynamically generating and updating NIS maps according to its configuration and the contents of the DIT, and serving the results to clients using the NIS protocol as if it were an ordinary NIS server.
The Schema Compatibility plugin allows the directory server to provide an alternate view of entries stored in part of the DIT, optionally adding, dropping, or renaming attribute values, and optionally retrieving values for attributes from multiple entries in the tree.
There are three methods to install slapi-nis 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 slapi-nis Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install slapi-nis using apt-get by running the following command:
sudo apt-get -y install slapi-nisInstall slapi-nis Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install slapi-nis using apt by running the following command:
sudo apt -y install slapi-nisInstall slapi-nis 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 updateAfter updating apt database, We can install slapi-nis using aptitude by running the following command:
sudo aptitude -y install slapi-nisHow To Uninstall slapi-nis on Kali Linux
To uninstall only the slapi-nis package we can use the following command:
sudo apt-get remove slapi-nisUninstall slapi-nis And Its Dependencies
To uninstall slapi-nis and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove slapi-nisRemove slapi-nis Configurations and Data
To remove slapi-nis configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge slapi-nisRemove slapi-nis configuration, data, and all of its dependencies
We can use the following command to remove slapi-nis configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge slapi-nisDependencies
slapi-nis have the following dependencies:
References
Summary
In this tutorial we learn how to install slapi-nis package on Kali Linux using different package management tools: apt, apt-get and aptitude.