How To Install libpam-malcontent on Kali Linux
Introduction
In this tutorial we learn how to install libpam-malcontent
on Kali Linux.
What is libpam-malcontent
libpam-malcontent is:
malcontent implements support for restricting the type of content accessible to non-administrator accounts on a Linux system. Typically, when this is used, a non-administrator account will be for a child using the system; and the administrator accounts will be for the parents; and the content being filtered will be apps which are not suitable for the child to use, due to (for example) being too violent.
This is not a security boundary, and a sufficiently technically advanced user may always work around these parental controls. malcontent is not a mandatory access control (MAC) system like AppArmor or SELinux. However, its correct use by applications should provide enough of an obstacle to prevent users easily or accidentally having access to content which they shouldn??t.
This package contains a PAM module to control the time a user is spending on the computer.
There are three methods to install libpam-malcontent
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 libpam-malcontent Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libpam-malcontent
using apt-get
by running the following command:
sudo apt-get -y install libpam-malcontent
Install libpam-malcontent Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpam-malcontent
using apt
by running the following command:
sudo apt -y install libpam-malcontent
Install libpam-malcontent 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 libpam-malcontent
using aptitude
by running the following command:
sudo aptitude -y install libpam-malcontent
How To Uninstall libpam-malcontent on Kali Linux
To uninstall only the libpam-malcontent
package we can use the following command:
sudo apt-get remove libpam-malcontent
Uninstall libpam-malcontent And Its Dependencies
To uninstall libpam-malcontent
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libpam-malcontent
Remove libpam-malcontent Configurations and Data
To remove libpam-malcontent
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libpam-malcontent
Remove libpam-malcontent configuration, data, and all of its dependencies
We can use the following command to remove libpam-malcontent
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpam-malcontent
Dependencies
libpam-malcontent have the following dependencies:
References
Summary
In this tutorial we learn how to install libpam-malcontent
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.