How To Install ldap-account-manager on Kali Linux
Introduction
In this tutorial we learn how to install ldap-account-manager on Kali Linux.
What is ldap-account-manager
ldap-account-manager is:
LDAP Account Manager (LAM) runs on an existing webserver. It manages user, group and host accounts. Currently LAM supports these account types: Samba 3/4, Unix, Kolab, address book entries, NIS mail aliases and MAC addresses. There is an integrated LDAP browser to allow access to the raw LDAP attributes. You can use templates for account creation and use multiple configuration profiles. Account information can be exported as PDF file. There is also a script included which manages quotas and homedirectories.
There are three methods to install ldap-account-manager 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 ldap-account-manager Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ldap-account-manager using apt-get by running the following command:
sudo apt-get -y install ldap-account-managerInstall ldap-account-manager Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ldap-account-manager using apt by running the following command:
sudo apt -y install ldap-account-managerInstall ldap-account-manager 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 ldap-account-manager using aptitude by running the following command:
sudo aptitude -y install ldap-account-managerHow To Uninstall ldap-account-manager on Kali Linux
To uninstall only the ldap-account-manager package we can use the following command:
sudo apt-get remove ldap-account-managerUninstall ldap-account-manager And Its Dependencies
To uninstall ldap-account-manager and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ldap-account-managerRemove ldap-account-manager Configurations and Data
To remove ldap-account-manager configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ldap-account-managerRemove ldap-account-manager configuration, data, and all of its dependencies
We can use the following command to remove ldap-account-manager configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ldap-account-managerDependencies
ldap-account-manager have the following dependencies:
- php
- php-ldap
- php-gd
- php-json
- php-curl
- php-zip
- php-xml
- php-gmp
- libapache2-mod-php
- php-phpseclib
- php-monolog
- apache2
- fonts-dejavu
- debconf
References
Summary
In this tutorial we learn how to install ldap-account-manager package on Kali Linux using different package management tools: apt, apt-get and aptitude.